Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336114 - media-libs/tiff-4.0.0_beta6 fails to open CR2 files
Summary: media-libs/tiff-4.0.0_beta6 fails to open CR2 files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Steve Arnold
URL: http://bugzilla.maptools.org/show_bug...
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2010-09-05 14:38 UTC by Reimundo Heluani
Modified: 2011-04-16 21:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
solves upstream #2164 (tiff-4.0.0_beta6-cr2-bitspersample.patch,547 bytes, patch)
2010-09-05 14:39 UTC, Reimundo Heluani
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Reimundo Heluani 2010-09-05 14:38:06 UTC
An assertion in TIFFReadDirEntryPersampleShort fails and libtiff fails to open Canon CR2 files (among other tiffs). The patch proposed upstream in bug 2164 (TIFFReadDirEntryPersampleShort fails for Zeiss LSM tiff variant) works for me, attached is the patch. This prevents eog and such from showing CR2 files which is quite a common photo format, I think this should be added to the ebuild.

Reproducible: Always

Steps to Reproduce:
1.tiffinfo image.cr2
2.
3.

Actual Results:  
TIFFReadDirectory: Incorrect count for "BitsPerSample".

Expected Results:  
Information about the file
Comment 1 Reimundo Heluani 2010-09-05 14:39:55 UTC
Created attachment 246149 [details, diff]
solves upstream #2164
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-16 21:43:11 UTC
This patch is included in media-libs/tiff-4.0.0_beta7.