]> git.saurik.com Git - wxWidgets.git/commit
Expanded existing image saving test to also verify alpha content of saved images.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Tue, 28 Dec 2010 22:05:01 +0000 (22:05 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Tue, 28 Dec 2010 22:05:01 +0000 (22:05 +0000)
commit5828d76add0c964f6b9ca0e7fe23e49b0ea9ff26
tree2d32a82513682c7ed8e2e6091f6f38f50ad111e8
parent2b39567fd4742201f57aa6d49fae31494ce1209e
Expanded existing image saving test to also verify alpha content of saved images.

Compare the alpha data of saved images (where applicable, currently for PNG only) to a generated alpha channel. Refactored most of ImageTestCase.CompareSavedImage into (static) function CompareImage to easily compare with a 24-bit image and then a 32-bit one.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
tests/image/image.cpp