Changeset 8510


Ignore:
Timestamp:
06/27/12 07:35:17 (12 months ago)
Author:
glennrp
Message:

Don't try to use Z_RLE compression strategy with old zlib that does not

support it.

Location:
ImageMagick/branches/ImageMagick-6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ImageMagick/branches/ImageMagick-6/ChangeLog

    r8506 r8510  
     12012-06-26  6.7.7-10 Glenn Randers-Pehrson <glennrp@image...> 
     2  * Don't attempt to use Z_RLE compression strategy with old zlib (prior to 
     3    zlib-1.2.0) that does not support it. 
     4 
    152012-06-25  6.7.7-10 Cristy  <quetzlzacatenango@image...> 
    26  * Permit linear RGB for PNM and TIFF image formats. 
  • ImageMagick/branches/ImageMagick-6/coders/png.c

    r8502 r8510  
    98199819    { 
    98209820        if ((quality %10) == 8 || (quality %10) == 9) 
    9821             mng_info->write_png_compression_strategy=Z_RLE; 
     9821#ifdef Z_RLE  /* Z_RLE was added to zlib-1.2.0 */ 
     9822          mng_info->write_png_compression_strategy=Z_RLE+1; 
     9823#else 
     9824          mng_info->write_png_compression_strategy = Z_DEFAULT_STRATEGY+1; 
     9825#endif 
    98229826    } 
    98239827 
Note: See TracChangeset for help on using the changeset viewer.