]> git.saurik.com Git - wxWidgets.git/commit
Fixed loading greyscale with alpha TIFF images.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Sun, 28 Aug 2011 23:45:17 +0000 (23:45 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Sun, 28 Aug 2011 23:45:17 +0000 (23:45 +0000)
commitebbaec82fae6badb44569f13c325ea09e117cc6a
tree67cbf1964b8e31f796f513b39c2c65182416b7db
parenta000de7794cb20bdd772e76dda87baa27642056b
Fixed loading greyscale with alpha TIFF images.

The alpha channel was not detected because of wrong hasAlpha determination. Also TIFFReadRGBAImage[Oriented] doesn't appear to decode an alpha channel for images that are greyscale so decode greyscale with alpha images using TIFFReadScanline.

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