]> git.saurik.com Git - wxWidgets.git/commit
Added some simple unit tests for verifying pixel content of loaded and saved images.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Tue, 28 Dec 2010 19:50:41 +0000 (19:50 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Tue, 28 Dec 2010 19:50:41 +0000 (19:50 +0000)
commit2b39567fd4742201f57aa6d49fae31494ce1209e
tree17f008c05cb26ce99ed0a870971a497e71ef429a
parent95647df73dda2acafc3e16398002839d0225927b
Added some simple unit tests for verifying pixel content of loaded and saved images.

Compare the data of loaded images in different formats against a reference image (one for 8-bit images, another for 24-bit). Do the same for images saved using SaveFile. Excluded some formats because they are either lossy or don't pass the test right now.

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