modulate doesn't appear to work properly

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
jodonov
Posts: 2
Joined: 2011-07-08T01:36:03-07:00
Authentication code: 8675308

modulate doesn't appear to work properly

Post 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
markmarques
Posts: 88
Joined: 2010-06-29T14:36:09-07:00
Authentication code: 8675308

Re: modulate doesn't appear to work properly

Post by markmarques »

The correct code would be something like this :

Code: Select all

convert image.jpg  -colorspace hsb -modulate 100,90,80 modulate.jpg 
jodonov
Posts: 2
Joined: 2011-07-08T01:36:03-07:00
Authentication code: 8675308

Re: modulate doesn't appear to work properly

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

Re: modulate doesn't appear to work properly

Post 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
Post Reply