Hello.
I have a TIFF image with multiple value on its stripoffset and stripbytecount tags. I read this image into memory and write it to a PNG file. Then I add the PNG file to a PDF file. The problem is that the image look too compressed in the PDF file.
Should I convert the TIFF image's stripoffset and stripbytecount tags to a single value? I would appreciate to see a sample code.
Is there a way to save the TIFF image to a PNG in a way the PDF will not distort the image?
Thank you in advance for your help.
Liza
I have a TIFF image with multiple value on its stripoffset and stripbytecount tags. I read this image into memory and write it to a PNG file. Then I add the PNG file to a PDF file. The problem is that the image look too compressed in the PDF file.
Should I convert the TIFF image's stripoffset and stripbytecount tags to a single value? I would appreciate to see a sample code.
Is there a way to save the TIFF image to a PNG in a way the PDF will not distort the image?
Thank you in advance for your help.
Liza