Copy link to clipboard
Copied
hi all,
i have saved the 32 bit tiff file layer compression type as "ZIP compression" and i have retrieved the compressed data from tiff file. so now how can i decompress that data of each layer image for 32 bit tiff file.
can anyone please help me to get this data or any method to decompress 32 bit image data of each layer.
Thank you
See if this helps : https://stackoverflow.com/questions/44830246/decompressing-deflated-tiff-data
Dave
Copy link to clipboard
Copied
Why not just open the file? Once loaded in memory it is uncompressed.
Dave
Copy link to clipboard
Copied
@davescm thanks for your Response.
i have the compressed data of 32 bit tiff file layer image , which compressed using zip while saving tiff file.
but i need help that i want to decompress 32 bit tiff file layer image data for zip decompression.
thanks
Copy link to clipboard
Copied
Opening the file decompresses it. There is nothing more to decompress.
Copy link to clipboard
Copied
@D Fosse thanks for your response
i have retrieved 32 bit tiff file other layer information like layer name and other layer properties.
and i have retrieved the each layer image data from tiff file. and the data of each layer information is compressed zip type. so i want to decompress that each layer image data and i want to create PNG image from that image data.
thank you
Copy link to clipboard
Copied
Is this a SDK specific question? Is it action specific? If scripting, is this ExtendScript or UXP?
Copy link to clipboard
Copied
@Stephen_A_Marsh thanks for your response./
i have used libtiff library to get the layer information and layer image data.
the image data is in compressed format zip compression type and i want to decompress the data . is there any code that will decompress image data "ZIP WithPredictor" for tiff file
Copy link to clipboard
Copied
Sorry, I can't help with SDK, I just wanted to clarify your requirements so that someone with the appropriate knowledge can answer.
Copy link to clipboard
Copied
hi all,
how photoshop using to save 8,16 and 32 bit image data of each layer image , meaning which method is using to save image data of each layer for the compression type ZIP .
thanks
Copy link to clipboard
Copied
See if this helps : https://stackoverflow.com/questions/44830246/decompressing-deflated-tiff-data
Dave
Copy link to clipboard
Copied
thanks @davescm it works