]> git.saurik.com Git - wxWidgets.git/commit - src/common/imagtiff.cpp
Changed TIFF handler's monochrome conversion to look at the green channel instead...
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Fri, 19 Aug 2011 02:27:11 +0000 (02:27 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Fri, 19 Aug 2011 02:27:11 +0000 (02:27 +0000)
commit7f77b25ea8cad399e71bfce5514df6294cce1f45
treea3e7417d3aef117b93a58f98cefdb5636197cc2e
parent0e11090ef6cd6cf68a7ee521feb126006a70e368
Changed TIFF handler's monochrome conversion to look at the green channel instead of red.

It's common when reducing a coloured image to greyscale or black and white to give the green channel more significance. Since we're only looking at a single channel use the green one instead of red.

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