]> git.saurik.com Git - wxWidgets.git/commit - src/common/imagtiff.cpp
Improved detection of alpha channels in TIFF images.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Wed, 19 Jan 2011 13:47:18 +0000 (13:47 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Wed, 19 Jan 2011 13:47:18 +0000 (13:47 +0000)
commit3d59540f8778262e3d9dd7d3bcdaf8da37f5fac0
tree5ffe5f013dd3cc425344400ccc437199c49d48bf
parent77b83d0a0f152e0eea6e6d357fced42319ecb118
Improved detection of alpha channels in TIFF images.

Some TIFF images are not properly formed, for example having an extra channel marked as being unspecified data while they should be treated as being an alpha channel. Detect some of those cases so that these TIFF images now will have alpha.

Applied patch by gmeeker. Closes #12874.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/imagtiff.cpp