Tuesday 24 July 2007 5:35:12 am
Seems there are several ways to create grayscale images, and colorspace is probably not the one I'm looking for... First: colorspace GRAY seems to work if you do this on the commandline: convert image.jpg -colorspace GRAY dest.jpg
However, eZ runs it as convert -colorspace GRAY image.jpg dest.jpg
(paths and quality stripped for clarity). This way of issuing the command yields the "Bogus input colorspace" error as it seems IM is unable to read the colorspace value unless the input image is mentioned before the parameter (???) Grayscale images can be created by desaturating them or turning up the hue. So I created a filter: Filters[]=hsb/modulateHS=-modulate %1,%2
That I use as such: Filters[]=hsb/modulateHS=90;0
...and I have my grayscale thumbnails! Wee! :)
|