Thanks for the help everyone has given me, I've figured out the issue. It was related to the compression that is being used on the tif image. I guess that imagemagick uses jpeg compression by default. The applications that were importing my converted images don't understand jpeg compressed images (nor any compression apparently). The images SEEMED ok in a number of apps I was using to check the conversions but I had to dig a little deeper, apparently.

-john



On Jan 22, 2006, at 12:24 AM, Anthony Thyssen wrote:

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