John Fountain on  wrote...
| List-
| 
| I'm converting a batch of jpgs to tif using the following command: 
| convert -strip -colorspace gray -colors 256 image.jpg image.tif
| 
| The tif that's output from this command is winding up as RGB with what 
| looks to be a misaligned color palette ( pink & green, specifically ). 
| I use this exact command to convert a pdf and the output is as 
| expected, i.e. a grayscale tif with a 256 level palette.
| 
| Can someone point out what it is I'm doing wrong?
| 
You should first try reading the image BEFORE trying to modify it!

   convert image.jpg -strip -colorspace gray -colors 256 image.tif

For details see...

Why did the command line style change!   or...
The problem with previous versions of IM
  http://www.cit.gu.edu.au/~anthony/graphics/imagick6/basics/#why


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
    Instead of wasting my energy bemoaning what I didn't know,
    I should be using what I DID know to expand my own horizons.
                        -- Robert Asprin  ``Myth-nomers and Im-pervections''
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to