]> git.saurik.com Git - wxWidgets.git/commitdiff
Use a default photometric interpretation value of PHOTOMETRIC_MINISWHITE instead...
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Fri, 19 Aug 2011 03:50:45 +0000 (03:50 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Fri, 19 Aug 2011 03:50:45 +0000 (03:50 +0000)
Closes #13194.

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

src/common/imagtiff.cpp

index e4458e3f9869c7546f23eb5b582b5fc4a2667c9b..40083e6bab00be826a905c07d2b064d10accf454 100644 (file)
@@ -619,7 +619,7 @@ bool wxTIFFHandler::SaveFile( wxImage *image, wxOutputStream& stream, bool verbo
     }
     else if (spp == 1)
     {
-        photometric = PHOTOMETRIC_MINISBLACK;
+        photometric = PHOTOMETRIC_MINISWHITE;
     }
 
     const bool isColouredImage = (spp > 1)