Bug 75316 - media-libs/tiff-3.7.1 does not support transparency
Bug#: 75316 Product:  Gentoo Linux Version: 2004.3 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: TEST-REQUEST Assigned To: nerdboy@gentoo.org Reported By: srcshelton@gmail.com
Component: Library
URL: 
Summary: media-libs/tiff-3.7.1 does not support transparency
Keywords:  
Status Whiteboard: 
Opened: 2004-12-22 07:57 0000
Description:   Opened: 2004-12-22 07:57 0000
Since updating to tiff-3.7.1 (see Bug 75213) I've noticed that any transparent
areas in images render as black.

Despite rebuilding both tiff and the applications themselves, transparent TIFFs
just do not render correctly.  Merging an older version would solve the
problem, but I assume that this would again leave systems open to the TIFF
vunerability.

Is this a general (lib)tiff problem, or something that has been introduced
accidentally and is Gentoo-specific?

------- Comment #1 From Steve Arnold 2004-12-22 10:38:32 0000 -------
Not sure at this point; I'll have to do a little research.

------- Comment #2 From Steve Arnold 2004-12-27 16:54:42 0000 -------
No transparency bugs at either Hylafax or the tiff bugzilla sites.  Can you
post 
a quick summary of how to reproduce your error, and maybe a problem image?  You 
might want to post a bug at the tiff site as well, or else I will once I have 
the info from you (I'm right in the middle of several near-term deadlines atm). 
Thanks in advance.

------- Comment #3 From Jinesh Choksi 2004-12-27 17:50:33 0000 -------
I came across this bug, when I emerged "x11-wm/windowmaker-0.91.0-r1". The
window manager makes use of .tiff icons/images in lots of places which all
appear without transparency.

------- Comment #4 From Stuart Shelton 2004-12-28 08:37:05 0000 -------
This was what caused me to notice this problem too - I use WindowMaker as my
primary WM.  I noticed that the icons is the dock no longer had transparency
after the tiff upgrade.  I confirmed this with eog, which was also unable to
display transparent tiffs.

I re-emerged tiff and eog (in that order), and the problem was still there.

... so *something* certainly seems broken in the latest libtiff release.

------- Comment #5 From Thierry Carrez (RETIRED) 2005-01-02 11:47:04 0000 -------
See patch on http://bugzilla.remotesensing.org/show_bug.cgi?id=718

------- Comment #6 From Steve Arnold 2005-01-02 18:15:38 0000 -------
The patch in -r1 seems to work, but I'd like some feedback on it.  Please test 
and let me know the results.  Thanks in advance.

------- Comment #7 From Stuart Shelton 2005-01-03 05:12:31 0000 -------
Looks good to me - Transparency looks fine, and I've not found any other
problems...