Page 1 of 1
Save TIFF withot compression from command line
Posted: 21.02.2019 03:03
by sacha_jp
An image can be saved from UI in TIFF without compression. Is there a way to save image from command line without LZW compression, specifically 48-bit color image?
Re: Save TIFF withot compression from command line
Posted: 21.02.2019 12:05
by Stas Yatsenko
No, that is not currently possible. Why do you want that? LZW compression is lossless, so you're getting the exact same file but it's a bit smaller and probably takes a bit less time to be saved.
Re: Save TIFF withot compression from command line
Posted: 21.02.2019 15:36
by sacha_jp
The main reason to save uncompressed is that next software package in the processing chain cannot correctly read 48-bit LZW images.
As for the size, there are no savings, just the opposite (which is strange). Image dimensions are 1904x1428 (15931KB). The size of image saved by Helicon is 18569KB. The same uncompressed image (saved by Photoshop) is 15955KB. In this case is better to save uncompressed.
Re: Save TIFF withot compression from command line
Posted: 22.02.2019 11:23
by Stas Yatsenko
We'll see how quickly we can add a command line option for saving uncompressed TIFF. Are you on Mac or Windows?
Re: Save TIFF withot compression from command line
Posted: 22.02.2019 23:08
by sacha_jp
Windows
Re: Save TIFF withot compression from command line
Posted: 25.02.2019 17:31
by Stas Yatsenko
We've added the command line option "-tiff:u" to save uncompressed TIFF images: https://office.heliconsoft.com/cloud/index.php/s/EHmG6BQjSyaGjEK
Re: Save TIFF withot compression from command line
Posted: 28.02.2019 18:40
by sacha_jp
Thanks for fast fix. I will give it a try and report back...
Re: Save TIFF withot compression from command line
Posted: 20.03.2019 20:59
by sacha_jp
I am getting an error after adding "-tiff:u" to command line: "No source file found at path -tiff:u". My command line is something like this:
-silent E:\Data\\2_XYZ\9210_00_A_01 -save:E:\Data\3_Focus_Stacking\9210_00_A_01.tif -tiff:u -mp:1 -rp:8 -sp:4
Can you provide an example how a command line should look?
Thanks
Re: Save TIFF withot compression from command line
Posted: 21.03.2019 10:24
by Stas Yatsenko
Sorry, small mistake: it's "-tif", not "-tiff"
Re: Save TIFF withot compression from command line
Posted: 21.03.2019 15:45
by sacha_jp
Thanks. That works great.