Colorize an image with hex-code
Posted: 2008-09-17T03:40:40-07:00
I need to colorize an image with an hex-code. So I have the original image and an hexcode+alpha like 15243C + 90. That should add #15 to the R-Channel, #24 to the G channel and so on.
I tried this with -channel and -fx but it doesn't work at all, not with #15 or 15 or the decimal 21...
-channel R -fx 'r + 15' -channel G -fx 'g + 36' -channel B -fx 'b + 60'
Any ideas?
Similar to that: What does "-channel R -fx 'r+0.1'" mean? More red, ok, but how much, 10%?
I tried this with -channel and -fx but it doesn't work at all, not with #15 or 15 or the decimal 21...
-channel R -fx 'r + 15' -channel G -fx 'g + 36' -channel B -fx 'b + 60'
Any ideas?
Similar to that: What does "-channel R -fx 'r+0.1'" mean? More red, ok, but how much, 10%?