Save TIFF withot compression from command line

Announcement of new releases, bugs, support, suggestions
Post Reply
sacha_jp
Posts: 6
Joined: 21.02.2019 02:48

Save TIFF withot compression from command line

Post 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?
User avatar
Stas Yatsenko
Posts: 3841
Joined: 06.05.2009 14:05
Contact:

Re: Save TIFF withot compression from command line

Post 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.
sacha_jp
Posts: 6
Joined: 21.02.2019 02:48

Re: Save TIFF withot compression from command line

Post 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.
User avatar
Stas Yatsenko
Posts: 3841
Joined: 06.05.2009 14:05
Contact:

Re: Save TIFF withot compression from command line

Post 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?
sacha_jp
Posts: 6
Joined: 21.02.2019 02:48

Re: Save TIFF withot compression from command line

Post by sacha_jp »

Windows
User avatar
Stas Yatsenko
Posts: 3841
Joined: 06.05.2009 14:05
Contact:

Re: Save TIFF withot compression from command line

Post 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
sacha_jp
Posts: 6
Joined: 21.02.2019 02:48

Re: Save TIFF withot compression from command line

Post by sacha_jp »

Thanks for fast fix. I will give it a try and report back...
sacha_jp
Posts: 6
Joined: 21.02.2019 02:48

Re: Save TIFF withot compression from command line

Post 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
User avatar
Stas Yatsenko
Posts: 3841
Joined: 06.05.2009 14:05
Contact:

Re: Save TIFF withot compression from command line

Post by Stas Yatsenko »

Sorry, small mistake: it's "-tif", not "-tiff"
sacha_jp
Posts: 6
Joined: 21.02.2019 02:48

Re: Save TIFF withot compression from command line

Post by sacha_jp »

Thanks. That works great.
Post Reply