Re: Save compressed tiff by macro
Posted by Peter van Loon on Mar 08, 2014; 12:18pm
URL: http://imagej.273.s1.nabble.com/Save-compressed-tiff-by-macro-tp5006810p5006830.html
Hi Rainer,
Thank you for your suggestions. I didn't think on the ZIP option. It works but is not practically if I want to see them in an image viewer. My images have two layers so I can't use PNG because it flattens the image to one layer.
I tried the Bio-Formats Exporter but it gave exception errors (in my FIJI version).
I just tried the Bio-Formats Exporter in older and more clean ImageJ and FIJI versions and it works.
The Bio-Formats Exporter is recordable and contains the compression method:
run("Bio-Formats Exporter", "save=[Z:\\Test BioFormats LZW compr by macro.tif] compression=LZW");
I my case uncompressed Tiff images are 13MB and LZW compressed: 0.6MB so I save a lot of space and images are opened faster.
Regards,
Peter