MATLAB Answers

TIFF (Tagged Image File Format) Compression

40 views (last 30 days)
Valentino
Valentino on 19 Jul 2016
Edited: Thorsten on 19 Jul 2016
Hi,
i'm using
imwrite(my_img, fullfile(Path,Name), 'tif','Compression','none');
to save my image and i want to compress it too. I know there are different ways for tiffs to compress them but which one to choose? Only lossless is an option for me but still i don't know how to based on which criterion i can judge between the methods. Also i cannot understand why my files are getting bigger with the 'LZW' compression than with no compression.
Thanks for your help.
Greetings

Accepted Answer

Thorsten
Thorsten on 19 Jul 2016
Edited: Thorsten on 19 Jul 2016
The criterion for compression is obviously file size. The amount of reduction that can be achieved by the various methods depends on the data in the image. So the only way to find out which compression reduces your images most is to run various methods on a representative sample of your images.

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!