Page 1 of 1

Problem when using the coloration plugin from FredImageMagick

Posted: 2016-11-29T07:24:02-07:00
by fabiobh
I was trying to use the coloration plugin from Fred ImageMagick

I try the following command
./coloration.sh -h 0 -s 80 back.jpg back_image0.jpg

It works perfectly, it changes the color of my image to red.

Then I try this command
./coloration.sh -h 300 -s 80 back.jpg back_image0.jpg

The only difference betwwen both commands is that I set the -h(hue) value to 300, my image is supposed bo become in magenta color according to the HUE chart on (http://www.fmwconcepts.com/imagemagick/ ... /index.php), but it becomes green.

How I can make my image file in magenta color?

Re: Problem when using the coloration plugin from FredImageMagick

Posted: 2016-11-29T11:25:57-07:00
by fmw42
Thanks for the bug report. The issue was that IM color representations for HSL/HSB have changed several times and I needed to put version traps in to change the format for hue between percent and 0-360 depending upon the IM version. I think it is fixed now. But let me know if you find any other issues.

Re: Problem when using the coloration plugin from FredImageMagick

Posted: 2016-11-29T12:17:12-07:00
by fabiobh
It's working now, thank you so much for your fast response.