uncompressed grayscale TIFF to LZW?

  • Thread starter Thread starter Dave Smey
  • Start date Start date
D

Dave Smey

Does anybody know of a command-line or otherwise quick way to convert huge
uncompressed grayscale TIFF's to TIFFs with LZW compression?

Sadly, IrfanView converts it to 8-bit indexed color in the process,
apparently distorting my gray values.

I've also wasted quite a bit of time with Lead Technologies Command-Line
Converter

http://www.leadtools.com/Utilities/Cmd-Line/File-Converter/default.htm

but can't get it to do anything, for some reason.

At this point I seem to be SOL - I'll end up doing a bunch of clicks in
Photoshop LE.

-Dave Smey
 
Does anybody know of a command-line or otherwise quick way to
convert huge uncompressed grayscale TIFF's to TIFFs with LZW
compression?

The Gimp has a batch command, but for CLI you might want to take a look
at ImageMagick.
<http://www.imagemagick.org/script/index.php>

And Sam2p, who's author claims, is better at LZW conversion than
ImageMagick (there may be some truth in this).
Scroll down page to DL Windows binaries
<http://www.inf.bme.hu/~pts/sam2p/>
 
The Gimp has a batch command, but for CLI you might want to take a look
at ImageMagick.
<http://www.imagemagick.org/script/index.php>
Yes, it works! At least for smaller files. On my hugest one (81MB) it
either took a really long time or hung - I'll have to systematically work my
way up in size to see what the deal is.
And Sam2p, who's author claims, is better at LZW conversion than
ImageMagick (there may be some truth in this).
Scroll down page to DL Windows binaries
<http://www.inf.bme.hu/~pts/sam2p/>
Yeah, Sam2p did the same thing Irfanview did, converting the grayscale to
8-bit indexed color. Surprising, given the way the author talks up his
work.

Thanks so much for your help.

-Dave Smey
(music theory freeware at davesmey.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top