error converting photo to grey

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
nowen3

error converting photo to grey

Post 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.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: error converting photo to grey

Post by Bonzo »

Try Gray :lol:
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Re: error converting photo to grey

Post by Drarakel »

Also check "convert -list colorspace" next time. :)
nowen3

Re: error converting photo to grey

Post by nowen3 »

Thank you very much. I feel so stupid making a silly mistake like that
Post Reply