Removed double TIFFSetField call for setting TIFFTAG_ORIENTATION.
Setting the same TIFF tag with the same value once is enough. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c6973babc6
commit
28b31a2ad2
@ -552,7 +552,6 @@ bool wxTIFFHandler::SaveFile( wxImage *image, wxOutputStream& stream, bool verbo
|
||||
return false;
|
||||
}
|
||||
|
||||
TIFFSetField(tif, TIFFTAG_ORIENTATION, ORIENTATION_TOPLEFT);
|
||||
TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, (uint32)image->GetWidth());
|
||||
TIFFSetField(tif, TIFFTAG_IMAGELENGTH, (uint32)image->GetHeight());
|
||||
TIFFSetField(tif, TIFFTAG_ORIENTATION, ORIENTATION_TOPLEFT);
|
||||
|
Loading…
Reference in New Issue
Block a user