Tif file size reduced based on content

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
drewvy

Tif file size reduced based on content

Post by drewvy »

Hi,

I love ImageMagick. Awesome software.

I'm using ImageMagick 6.4.1 on Windows and Linux and both have the same problem.

I have a tif file called black1.tif that is completely black and is 16bits per channel. If I run this command:

convert black1.tif test.tif

test.tif is saved as a tiny one bit image. I don't want this. I need for it to still be a 16bits per channel image file. Is there a way to stop this from happening?

You can find black1.tif at http://drop.io/imagemagick
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Tif file size reduced based on content

Post by fmw42 »

try

convert black1.tif -depth 16 test.tif
Post Reply