[magick-users] Help getting images with 1 Sample per Pixel
whenusing convert (6.2.4 Debian Linux)
Leigh Ahwai
lahwai at chipworks.com
Mon Apr 28 12:27:50 PDT 2008
Thanks. Unfortunately, I tried that but it didn't seem to work (files
are still way larger and tiffinfo still says Samples/Pixel is 3).
Here's what I tried:
--------------------
convert img0004.tif -colorspace gray img0004_colorspace_gray.tif
convert img0004.tif -type grayscale img0004_type_grayscale.tif
Resulting files are:
--------------------
68 -rw-rw-r-- 1 65907 Mar 26 11:13 img0004.tif
184 -rw-rw-r-- 1 185889 Apr 28 15:16 img0004_colorspace_gray.tif
184 -rw-rw-r-- 1 185889 Apr 28 15:16 img0004_type_grayscale.tif
Cheers,
Leigh
Leigh Ahwai
Manager, Development
Ext: 4037
3685 Richmond Road, Suite 500
Ottawa, ON, Canada K2H 5B7
t: 613.829.0414 f: 613.829.0515
www.chipworks.com
-----Original Message-----
From: magick-users-bounces at imagemagick.org
[mailto:magick-users-bounces at imagemagick.org] On Behalf Of David Harmon
Sent: Monday, April 28, 2008 1:38 PM
To: Magick-users at imagemagick.org
Subject: Re: [magick-users] Help getting images with 1 Sample per Pixel
whenusing convert (6.2.4 Debian Linux)
leighahwai-at-rogers.com |ImageMagick| wrote:
>I have a grayscale tif image that tiffinfo show to have: Bits/Sample: 8
>and Samples/Pixel: 1
>
>No matter what I do, after I run convert on the image, tiffinfo
reports: >Bits/Sample: 8 and Samples/Pixel: 3.
Try "-type grayscale" _after_ other processing options.
Or "-colorspace gray"
_______________________________________________
Magick-users mailing list
Magick-users at imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users
This e-mail message may contain client privileged and/or confidential information, and is intended only for the use of the individual or entity named above. Any unauthorized use, dissemination or copying is strictly prohibited. If you have received this communication in error, please notify us immediately by reply e-mail and delete or discard this message. Thank you.
More information about the Magick-users
mailing list