]> git.saurik.com Git - wxWidgets.git/commit
Improved saving of TIFF monochrome images.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Fri, 19 Aug 2011 01:08:36 +0000 (01:08 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Fri, 19 Aug 2011 01:08:36 +0000 (01:08 +0000)
commit7a10e465ca4f5dacd1b59b4fb4d8318b8ccb0b0b
tree084efdd1961cf088aa331b898b6119f124169f0a
parent7ffc9affb41239c681e25ccccd6a2e55a6f0b81a
Improved saving of TIFF monochrome images.

When reducing an RGB image to black and white any non-black pixel was treated as white resulting in mostly white images. Set the threshold to 127 instead to improve the looks of saved monochrome TIFF images.

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