Menu

#37 FreeImage and JPEG in TIFF 6.0 (Old Style) files

None
pending
None
1
2015-10-23
2015-10-05
Anonymous
No

We used the 3.12 in the last version of our application (developed with Delphi 2006) and open with this version JPEG in TIFF 6.0 (Old Style) files without problems.
Now we have updated to version 3.17 because we have changed our application to Unicode Version of Delphi XE3. Now I´m not able to open these files correctly. It is a MultiPage TIFF with 2 pages, but I see only page 1. You can find attached a sample TIFF.

Thanks in advance
Michael Reisch

1 Attachments

Discussion

  • Hervé Drolon

    Hervé Drolon - 2015-10-09
    • status: open --> pending
    • assigned_to: Hervé Drolon
    • Group: -->
     
  • Hervé Drolon

    Hervé Drolon - 2015-10-09

    Hi,

    The page '2/2' cannot be read by LibTIFF4.
    The LibTIFF4 internal error is "Corrupt JPEG data" and the FreeImage error message is "Unsupported format".
    The error comes from LibTIFF4\tif_ojpeg.c - function OJPEGReadHeaderInfoSecStreamSof

    Hervé

     
  • Anonymous

    Anonymous - 2015-10-21

    Hi Hervé,
    do you think you can fix it? Or is it out of your possibilities?
    Thanks
    Michael

     
  • Hervé Drolon

    Hervé Drolon - 2015-10-23

    Hi Michael,

    This "problem" (that is not a bug) should be reported to the LibTIFF team, as it is caused by LibTIFF.
    see http://bugzilla.maptools.org/buglist.cgi?product=libtiff
    However, since your image is a corrupted image, I don't think the LibTIFF team will do anything (but you can try).

    My suggestion: use your old software to convert this kind of image to a more modern format (or to TIFF with a lossless compression option), then update your software with up-to-date libraries.

    Hervé

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB