Save compressed tiff by macro
Posted by Peter van Loon on Mar 07, 2014; 7:59am
URL: http://imagej.273.s1.nabble.com/Save-compressed-tiff-by-macro-tp5006810.html
Hi,
If I use the 'SaveAs' -> 'Compressed Tiff' (ZIP and Huffman RLE selected) by menu I get my lossless compressed tiff file. If I use the recorded macro version of it I get a regular uncompressed version. How can I add this ZIP compression in the macro?
This is the recorded macro stringwhen executed by menu:
run("Compressed TIFF ...", "save=[Z:\\Test compr.tif] imageiosaveas.codecname=tiff imageiosaveas.filename=[Z:\\Test compr.tif]");
It is logic that it is uncompressed because I don't set this in the macro but how can this be done?
Peter