2015.11.21 16:39 "[Tiff] Problem processing the attached Tiff images", by Oren Shnitzer

I have some tiff images that fail to process with Tifflib.net.

See the attached files.

I am using the code from: https://bitmiracle.github.io/libtiff.net/html/98f13f88-f60d-40dc-a5b3-cf902f 385d92.htm

For the first file I receive:

ReadDirectory: Warning, ri1_1_in: unknown field with tag 33885 (0x845d) encountered

ReadDirectory: Warning, ri1_1_in: unknown field with tag 50701 (0xc60d) encountered

And for the second I get:

ReadDirectory: Warning, ri2_1_in: unknown field with tag 33885 (0x845d) encountered

ReadDirectory: Warning, ri2_1_in: unknown field with tag 50701 (0xc60d) encountered

ReadDirectory: Warning, SamplesPerPixel tag is missing, assuming correct SamplesPerPixel value is 1

OJPEGSetupDecode: Warning, Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software

When I try to use these images using c# System.Drawing the imges are read successfully.

I want to use these files in TiffLib because I need to save them in TIFF with JPEG compression (which is not supported by GDI).

Thanks!