Corrected TIFF,

more drawing tests.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-01-26 19:26:02 +00:00
parent cf27ef009f
commit ff7c6c9c36
5 changed files with 51 additions and 9 deletions

View File

@@ -193,7 +193,7 @@ bool wxTIFFHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbos
for (uint32 i = 0; i < h; i++)
{
for (uint32 j = 0; j < h; j++)
for (uint32 j = 0; j < w; j++)
{
unsigned char alpha = (unsigned char)TIFFGetA(raster[pos]);
if (alpha < 127)