From 2453ceee20aab72c214ec26b4757c4ac6d09cfbd Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Fri, 19 Aug 2011 03:50:45 +0000 Subject: [PATCH] Use a default photometric interpretation value of PHOTOMETRIC_MINISWHITE instead of PHOTOMETRIC_MINISBLACK for greyscale and b/w TIFF images. Closes #13194. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/imagtiff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/imagtiff.cpp b/src/common/imagtiff.cpp index e4458e3f98..40083e6bab 100644 --- a/src/common/imagtiff.cpp +++ b/src/common/imagtiff.cpp @@ -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) -- 2.50.0