On Mon, 13 Sep 2010 10:30:39 -0400
[email protected] wrote:
| convert in.jpg -colorspace CMYK out.jpg
| convert -colorspace CMYK in.jpg out.jpg
| 
| Are both correct? 
| 
| Is one form better in some way than the other?

They can mean different things depending on the input file format.

-colorspace is designed to modify how an image is stored in memory
transforming it from the current 'colorsapce' to the specified
'colorspace'.

If you just want to set the color space and not actually modify the
color values that are stored use   "-set colorspace CMYK"


You may also like to look at  -type  which is ment to specify the
'type of image' that is to be read in and/or saved.

See IM Examples, Basics, Image Color Space Storage
  http://www.imagemagick.org/Usage/basics/#colorspace
and the next section   Image Type when Reading and Writing
  http://www.imagemagick.org/Usage/basics/#type


  Anthony Thyssen ( System Programmer )    <[email protected]>
 --------------------------------------------------------------------------
   The more knowledge you know, the less you know, that you know you know.
   Knowledge breeds Ignorance.
 --------------------------------------------------------------------------
   Anthony's Castle     http://www.cit.griffith.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to