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
This commit is contained in:
@@ -619,7 +619,7 @@ bool wxTIFFHandler::SaveFile( wxImage *image, wxOutputStream& stream, bool verbo
|
|||||||
}
|
}
|
||||||
else if (spp == 1)
|
else if (spp == 1)
|
||||||
{
|
{
|
||||||
photometric = PHOTOMETRIC_MINISBLACK;
|
photometric = PHOTOMETRIC_MINISWHITE;
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool isColouredImage = (spp > 1)
|
const bool isColouredImage = (spp > 1)
|
||||||
|
Reference in New Issue
Block a user