Problem when using the coloration plugin from FredImageMagick

A plethora of command-line scripts that perform geometric transforms, blurs, sharpens, edging, noise removal, and color manipulations.
Post Reply
fabiobh
Posts: 2
Joined: 2016-11-29T06:51:00-07:00
Authentication code: 1151

Problem when using the coloration plugin from FredImageMagick

Post 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?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Problem when using the coloration plugin from FredImageMagick

Post 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.
fabiobh
Posts: 2
Joined: 2016-11-29T06:51:00-07:00
Authentication code: 1151

Re: Problem when using the coloration plugin from FredImageMagick

Post by fabiobh »

It's working now, thank you so much for your fast response.
Post Reply