03-31-2021, 12:37 PM
Quote:Also, is there an option to dynamically darken a given rgb value?
Because I want to input only one color:
- the centered foreground would be in that color,
- but the offsetted one would be in a darker version of that.
I do not know, your best bet for anything IM is ask on the Imagemagick forum. https://github.com/ImageMagick/ImageMagick/discussions
Very helpful there, remember to state your IM version.
Quote:I switched to a white foreground (transparent with white on it), but now the colorisation doesn't work. Why?
I've tried removing the -colorspace gray flags, but it didn't help.
A bit like Gimp you can get an Indexed png if you are not careful. This seems to work, a white shape on transparent.
Code:
magick white.png -colorspace RGB -fuzz 20% -fill "rgb(50, 100, 40)" +opaque "#00000000" png32:coloured.png