Changeset 1307


Ignore:
Timestamp:
02/27/10 10:22:16 (3 years ago)
Author:
cristy
Message:
 
Location:
ImageMagick/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/ChangeLog

    r1296 r1307  
     12010-02-27  6.6.0-1 Cristy  <quetzlzacatenango@image...> 
     2  * Check to see if ICON image width /height exceeds that of the image canvas. 
     3 
    142010-02-21  6.6.0-0 Cristy  <quetzlzacatenango@image...> 
    25  * Insufficient image data in EPT is a warning rather than an error. 
  • ImageMagick/trunk/coders/icon.c

    r1299 r1307  
    315315        image->matte=MagickTrue; 
    316316        image->columns=(unsigned long) icon_file.directory[i].width; 
    317         if (image->columns == 0) 
     317        if (image->columns > icon_info.width) 
    318318          image->columns=(unsigned long) icon_info.width; 
    319319        image->rows=(unsigned long) icon_file.directory[i].height; 
    320         if (image->rows == 0) 
     320        if (image->rows > icon_info.height) 
    321321          image->rows=(unsigned long) icon_info.height; 
    322322        image->depth=8; 
Note: See TracChangeset for help on using the changeset viewer.