Re: cmyk colorspace

Bob Friesenhahn <[email protected]> Wed, 30 Jan 2008 11:37:08 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
On Wed, 30 Jan 2008, Patrick Welche wrote:

> I was having trouble with colorspaces, so I built yesterday's CVS head. An
> example of problematic file is attached. It is a cymk colorspace jpeg,
> and I expect the chairs to be red, however they appear cyan. The problem

[ stuff removed ]

> (My problem was then that convert -colorspace rgb orig.jpg new.jpg gave
> a cyan version, but one thing at a time. An old 2002 (pre GraphicsMagick)
> version of convert works properly.)

If I use

   gm convert orig.jpg -colorspace rgb crap.jpg

then crap.jpg looks ok to me so I think that there is an ordering 
issue with your sample command.  It is true that your sample command 
used to work as you expect, but now it is interpreted somewhat 
differently so that -colorspace can be used to specify the colorspace 
of the input file.

I do believe that there is a problem with 'display' not ensuring that 
the image is converted to RGB space prior to display.  I have noticed 
this bug before.

Bob
======================================
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/