Changeset 107

Show
Ignore:
Timestamp:
09/13/09 14:10:06 (6 months ago)
Author:
cristy
Message:
 
Location:
ImageMagick/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/ChangeLog

    r75 r107  
     12009-09-13  6.5.6-0 Cristy  <quetzlzacatenango@image...> 
     2  * Fix ICON alpha mask scanline pad. 
     3 
    142009-09-11  6.5.5-10 Cristy  <quetzlzacatenango@image...> 
    25  * Return the global maximum threads to avoid the rare cache view assertions. 
  • ImageMagick/trunk/coders/icon.c

    r1 r107  
    591591                      TransparentOpacity : OpaqueOpacity); 
    592592                } 
    593               for (x=0; x < (long) scanline_pad; x++) 
    594                 (void) ReadBlobByte(image); 
     593              if ((image->columns % 32) != 0) 
     594                for (x=0; x < (long) ((32-(image->columns % 32))/8); x++) 
     595                  (void) ReadBlobByte(image); 
    595596              if (SyncAuthenticPixels(image,exception) == MagickFalse) 
    596597                break;