Bug 684007 - libtiff fails to decode some G4 images correctly
Summary: libtiff fails to decode some G4 images correctly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libtiff
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-10 21:45 UTC by Tom Hughes
Modified: 2013-07-03 03:35 UTC (History)
2 users (show)

Fixed In Version: libtiff-3.9.4-4.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-08 23:19:08 UTC
Type: ---


Attachments (Terms of Use)

Description Tom Hughes 2011-03-10 21:45:07 UTC
Description of problem:

The latest libtiff (3.9.4-3) seems to have problems decoding some G4 images
which the previous version (3.9.4-1) was happy with.

Version-Release number of selected component (if applicable):

3.9.4-3

How reproducible:

Every time on problematic images.

Steps to Reproduce:

1. Run "tiffinfo -D" on the image
2. Observe the errors
  
Actual results:

TIFF Directory at offset 0x158ee (88302)
  Subfile Type: (0 = 0x0)
  Image Width: 3456 Image Length: 2294
  Resolution: 96, 96 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 4
  Photometric Interpretation: min-is-white
  Samples/Pixel: 1
  Rows/Strip: 28
  Planar Configuration: single image plane
Fax4Decode: Death-1934-Max-Faitelson.tif: Bad code word at line 16 of strip 8 (x 0).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Premature EOL at line 16 of strip 8 (got 0, expected 3456).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Line length mismatch at line 17 of strip 8 (got 3458, expected 3456).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Line length mismatch at line 18 of strip 8 (got 3458, expected 3456).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Line length mismatch at line 19 of strip 8 (got 3459, expected 3456).
Fax4Decode: Death-1934-Max-Faitelson.tif: Bad code word at line 20 of strip 8 (x 31).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Premature EOL at line 20 of strip 8 (got 31, expected 3456).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Line length mismatch at line 26 of strip 8 (got 3457, expected 3456).
Fax4Decode: Death-1934-Max-Faitelson.tif: Bad code word at line 13 of strip 45 (x 0).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Premature EOL at line 13 of strip 45 (got 0, expected 3456).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Line length mismatch at line 15 of strip 45 (got 3457, expected 3456).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Line length mismatch at line 17 of strip 45 (got 3457, expected 3456).
Fax4Decode: Death-1934-Max-Faitelson.tif: Bad code word at line 24 of strip 45 (x 3455).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Premature EOL at line 24 of strip 45 (got 3455, expected 3456).
Fax4Decode: Death-1934-Max-Faitelson.tif: Bad code word at line 25 of strip 45 (x 3455).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Premature EOL at line 25 of strip 45 (got 3455, expected 3456).
Fax4Decode: Death-1934-Max-Faitelson.tif: Bad code word at line 27 of strip 45 (x 3455).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Premature EOL at line 27 of strip 45 (got 3455, expected 3456).
Fax4Decode: Death-1934-Max-Faitelson.tif: Bad code word at line 3 of strip 46 (x 0).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Premature EOL at line 3 of strip 46 (got 0, expected 3456).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Line length mismatch at line 4 of strip 46 (got 3458, expected 3456).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Line length mismatch at line 9 of strip 46 (got 3457, expected 3456).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Line length mismatch at line 13 of strip 46 (got 3457, expected 3456).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Line length mismatch at line 25 of strip 46 (got 3457, expected 3456).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Line length mismatch at line 26 of strip 46 (got 3457, expected 3456).
Fax4Decode: Warning, Death-1934-Max-Faitelson.tif: Line length mismatch at line 27 of strip 46 (got 3469, expected 3456).

Expected results:

TIFF Directory at offset 0x158ee (88302)
  Subfile Type: (0 = 0x0)
  Image Width: 3456 Image Length: 2294
  Resolution: 96, 96 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 4
  Photometric Interpretation: min-is-white
  Samples/Pixel: 1
  Rows/Strip: 28
  Planar Configuration: single image plane

Additional info:

Unfortunately I have so far only managed to reproduce this with copyright images that I can't attach here...

Comment 1 Tom Lane 2011-03-10 22:54:17 UTC
Known problem, see http://bugzilla.maptools.org/show_bug.cgi?id=2297

Comment 2 Fedora Update System 2011-03-21 20:38:22 UTC
libtiff-3.9.4-4.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/libtiff-3.9.4-4.fc14

Comment 3 Fedora Update System 2011-03-21 20:38:36 UTC
libtiff-3.9.4-4.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/libtiff-3.9.4-4.fc13

Comment 4 Fedora Update System 2011-03-21 20:38:50 UTC
libtiff-3.9.4-4.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/libtiff-3.9.4-4.fc15

Comment 5 Fedora Update System 2011-04-08 23:19:00 UTC
libtiff-3.9.4-4.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2011-04-11 20:58:38 UTC
libtiff-3.9.4-4.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2011-04-13 15:13:07 UTC
libtiff-3.9.5-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/libtiff-3.9.5-1.fc15

Comment 8 Fedora Update System 2011-04-26 16:23:57 UTC
libtiff-3.9.5-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.