Page 1 of 1

error converting photo to grey

Posted: 2010-08-31T06:28:25-07:00
by nowen3
Im trying to convert a colour photo to greyscale. The command im using is

convert "c:\photo.jpg" -colorspace Grey "c:\photo1.jpg"

the convert command keeps returning this error

Magick: unrecognized image colorspace `Grey' @ error/convert.c/ConvertImageCommand/993.

I've tried this on linux and windows and with a number of images and get the same results.

Re: error converting photo to grey

Posted: 2010-08-31T07:37:25-07:00
by Bonzo
Try Gray :lol:

Re: error converting photo to grey

Posted: 2010-08-31T08:22:49-07:00
by Drarakel
Also check "convert -list colorspace" next time. :)

Re: error converting photo to grey

Posted: 2010-08-31T08:42:25-07:00
by nowen3
Thank you very much. I feel so stupid making a silly mistake like that