GNOME Bugzilla – Bug 644806
Multipage TIFF problem (Fax document)
Last modified: 2011-04-30 10:39:55 UTC
Hi. I've a problem with Evince. I'm running Evince 2.32.0, on Ubuntu 10.10 machine. My problem is with a multipage Tiff file, written by a Fax software running on an XP machine. The trouble is that Evince open it, shows that is a multipage file... but the page are fully black. Nothing appears in its content. Atteche a sample tiff file (2 pages) which i cannot display. (Default image Viewer in Windows XP, open this file normally) Any ideas? Is available an update to solve this problem? Thanks in advance.
Created attachment 183412 [details] Test - Multipage Tiff File
File appears to be not valid: Fax3Decode1D: Warning, /tmp/test_multi_tiff.tif: Premature EOL at line 2268 of strip 0 (got 0, expected 1728).
Gimp is able to open too. We need to check out if the problem is on Evince or if we should report a bug to libtiff.
Also Openoffice-Draw opens the file. But only first page :-( (In reply to comment #3) > Gimp is able to open too. > > We need to check out if the problem is on Evince or if we should report a bug > to libtiff.
I confirm that this is a bug in libtiff (in the case the file is valid). Please forward the bug to them.
Because Gimp also uses libtiff, it makes me think about a problem in Evince processing a conflict¡ng/malformed tiff document.
Created attachment 186915 [details] [review] Proposed patch Set stopOnError to zero on TIFFReadRGBAImageOriented() calls. This allows overlooking errors and processing malformed tiff files produced by buggy programs.
Review of attachment 186915 [details] [review]: Pushed to git master. thanks!
Thanks a lot!