Page 1 of 1

modulate doesn't appear to work properly

Posted: 2011-07-08T06:26:15-07:00
by jodonov
Hi All,

I am trying to use the modulate command to update an image's hue and saturation (as per http://www.imagemagick.org/script/comma ... p#modulate). I am running the following command:

Code: Select all

convert image.jpg -set option:modulate:colorspace hsb -modulate 100,90,80 modulate.jpg
However I keep getting this error:
Magick: unable to open image `90': No such file or directory @ error/blob.c/OpenBlob/2587.
Magick: no decode delegate for this image format `90' @ error/constitute.c/ReadImage/532.
Magick: unable to open image `80': No such file or directory @ error/blob.c/OpenBlob/2587.
Magick: no decode delegate for this image format `80' @ error/constitute.c/ReadImage/532.
Modulate only wants to take one arguement. What am I doing wrong?? Any help much appreciated am new to ImageMagick

Version: 6.6.9-Q16
Running: Windows 7 64bit

Thanks in advance

Re: modulate doesn't appear to work properly

Posted: 2011-07-08T08:42:40-07:00
by markmarques
The correct code would be something like this :

Code: Select all

convert image.jpg  -colorspace hsb -modulate 100,90,80 modulate.jpg 

Re: modulate doesn't appear to work properly

Posted: 2011-07-08T08:55:16-07:00
by jodonov
Am afraid that does not work either.. Same result

Code: Select all

convert image.jpg  -colorspace hsb -modulate 100,90,80 modulate.jpg
Magick: unable to open image `90': No such file or directory @ error/blob.c/OpenBlob/2588.
Magick: no decode delegate for this image format `90' @ error/constitute.c/ReadImage/532.
Magick: unable to open image `80': No such file or directory @ error/blob.c/OpenBlob/2588.
Magick: no decode delegate for this image format `80' @ error/constitute.c/ReadImage/532.

Re: modulate doesn't appear to work properly

Posted: 2011-07-08T09:53:10-07:00
by fmw42
this works just fine for me on IM 6.7.0.10 Q16 Mac OSX tiger:

convert rose: -define modulate:colorspace=HSB -modulate 100,90,80 rose_mod.png

see http://www.imagemagick.org/Usage/color_ ... colorspace

perhaps you should check your input image or post a link to it so others can check with it. Otherwise, it would appear to be something corrupt in your IM compile or a bug in 64-bit windows/IM