]> git.saurik.com Git - wxWidgets.git/commit
Added support for saving greyscale TIFF images.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Fri, 19 Aug 2011 02:35:48 +0000 (02:35 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Fri, 19 Aug 2011 02:35:48 +0000 (02:35 +0000)
commit8e28cc4701896761cd2c306525be2a31eb622cf4
treeacc609a2db625cbfb7556d30c0035d8dba46d85b
parent7f77b25ea8cad399e71bfce5514df6294cce1f45
Added support for saving greyscale TIFF images.

When saving with a samples per pixel value of 1 the TIFF handler still treated the image as RGB, resulting in corrupted images. Handle the greyscale case and added a unit test for it.

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