[magick-users] specify compression parameters of PNG in PerlMagick

Anthony Thyssen anthony at griffith.edu.au
Thu Jul 5 19:41:36 PDT 2007


=?iso-8859-1?Q?G=FCnter?= Bachelier on  wrote...
| Hello,
| 
| Anthony Thyssen wrote on
| http://www.imagemagick.org/Usage/formats/#png_quality
| that a photo should best be used with the "adaptive" (=3D 5)
| filtering and -quality 95. Is the PerlMagick transcription of this
| 
| $image->Write(filename=3D>'imagename.png', quality=3D>'95', filter=3D>'5'=
| );
| 
| What is PM using if the second parameter is not specified?
| 

Sorry.,  no.. 

  -quality 9   =>  09   =>  0 compression   filter 9

the quality itself specifies the filter for PNG

  Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
 -----------------------------------------------------------------------------
    Murphy said, 'Constants aren't', and Murphy was apparently one
    of the gods of this universe.           -- Rick Cook, "Wizard's bane"
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/


More information about the Magick-users mailing list