Page 1 of 1

convert: unrecognized image colorspace `RGB'.

Posted: 2010-01-11T10:26:42-07:00
by samyboy
Hi,

I'm trying to convert an image but I'm getting an error.

Code: Select all

$ convert image.gif -colorspace RGB image.jpg
convert: unrecognized image colorspace `RGB'.
$ /usr/bin/convert -list type
convert: unrecognized list type `type'.
Whatever colorpsace i chosse (RGB, CMYK) the problem persists.

IM has been installed from an RPM:
$ rpm -q ImageMagick
ImageMagick-6.4.3.6-5.3

The OS is SUSE Linux Enterprise Server 11 (i586).

Is this behaviour normal? Am I forgetting something?
Thank you.

Sam

Re: convert: unrecognized image colorspace `RGB'.

Posted: 2010-01-11T10:49:22-07:00
by Bonzo
Do you need the colorspace ?

I would try something simple first to prove the installtion is working e.g.:

Code: Select all

convert image.gif image.jpg
Is this the first thing you have tried so the installation may not have worked ?

Try something like:

Code: Select all

convert -version

Re: convert: unrecognized image colorspace `RGB'.

Posted: 2010-01-12T01:38:14-07:00
by samyboy
Hi Bonzo, Thank you for your answer.
Bonzo wrote:Do you need the colorspace ?
I don't know. I'm willing to use ImageMagick through the TYPO3 CMS.
Bonzo wrote:I would try something simple first to prove the installtion is working e.g.:

Code: Select all

convert image.gif image.jpg
Works great!
Bonzo wrote:Is this the first thing you have tried so the installation may not have worked ?
I don't quite understand this question. However I did not install this package (root did it).
I don't know how the installation passed... but I guess...well...
Bonzo wrote:Try something like:

Code: Select all

convert -version

Code: Select all

 # convert -version
Version: ImageMagick 6.4.3 2009-02-25 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
I tried to answer as precisely as I could. I currently see two workarounds.
  • Avoid rpms and Install from sources (but aren't rpms used to facilitate life?)
  • Edit TYPO3 source (do not want!)
I hope there's an easier way to get out of here :?: