Compress a PNG File

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Compress a PNG File

Post by fmw42 »

Note that PNG compression is different from JPG compression. See https://imagemagick.org/script/command- ... hp#quality.

What format is your input? If it is compressed highly such as JPG, you will not be able to get a PNG compression to the same file size.

Please say a bit more about your input. Or provide the input image. Or provide the information about it from identify -verbose yourimage

See also https://imagemagick.org/Usage/formats/#png_write

PNG does not support JP2000 compression.

Please do not double post. I have deleted your duplicate post.
Post Reply