Ignore:
Timestamp:
07/01/11 15:02:13 (23 months ago)
Author:
glennrp
Message:

Accept defined compression-filter=6,7,8,9 to be consistent with -quality option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/coders/png.c

    r4680 r4686  
    1073410734%  image depth and number of colors and limit transparency to binary 
    1073510735%  transparency prior to attempting to write the image with depth, color, 
    10736 %   or transparency limitations. 
    10737 % 
    10738 %  To do: Enforce the previous paragraph. 
     10736%  or transparency limitations. 
    1073910737% 
    1074010738%  Note that another definition, "png:bit-depth-written" exists, but it 
     
    1099610994  if (value != NULL) 
    1099710995  { 
    10998       /* To do: use a "LocaleInteger:()" function here. */ 
    10999  
    1100010996      /* We have to add 1 to everything because 0 is a valid input, 
    1100110997       * and we want to use 0 (the default) to mean undefined. 
     
    1110511101        mng_info->write_png_compression_filter = 6; 
    1110611102 
     11103      else if (LocaleCompare(value,"6") == 0) 
     11104        mng_info->write_png_compression_filter = 7; 
     11105 
     11106      else if (LocaleCompare(value,"7") == 0) 
     11107        mng_info->write_png_compression_filter = 8; 
     11108 
     11109      else if (LocaleCompare(value,"8") == 0) 
     11110        mng_info->write_png_compression_filter = 9; 
     11111 
     11112      else if (LocaleCompare(value,"9") == 0) 
     11113        mng_info->write_png_compression_filter = 10; 
    1110711114 
    1110811115      else 
Note: See TracChangeset for help on using the changeset viewer.