top of page

Software to Compress TIFFs with Specific Algorithms

Last night's tip, discussed different methods used to compress the size of TIFF images. A utility can be downloaded here, which will allow you to run a command which will compress TIFF images with either the CCIT Group 4, LZW, Packbits, or JPEG algorithms.


So for example, using the command tiffcp followed by the option -c lzw, the path of a source file, and the path of the compressed output file will result in a TIFF image compressed by the Lempel–Ziv–Welch algorithm:

tiffcp -c lzw "C:\foofolder\test\sample\brain.tif" "C:\foofolder\test\sample\brain2.tif"



The optiOn can be changed to 'packbits' to compress a TIFF image with the Packbits algorithm:

tiffcp -c packbits "C:\foofolder\test\sample\brain.tif" "C:\foofolder\test\sample\brain3.tif"


The results show how the compression size of different algorithms differ.


The option -jpeg can be used for JPEG compression, and -g4 for CCITT Group 4 encoding.




 
 

Sean O'Shea has more than 20 years of experience in the litigation support field with major law firms in New York and San Francisco.   He is an ACEDS Certified eDiscovery Specialist and a Relativity Certified Administrator.

The views expressed in this blog are those of the owner and do not reflect the views or opinions of the owner’s employer.

If you have a question or comment about this blog, please make a submission using the form to the right. 

Your details were sent successfully!

© 2015 by Sean O'Shea . Proudly created with Wix.com

bottom of page