How can I control compression level when saving to png?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
bp2017
Posts: 3
Joined: 2019-02-24T18:51:55-07:00
Authentication code: 1152

How can I control compression level when saving to png?

Post by bp2017 »

I open png file with ImageMagick, add border to it, and save it as different file. But I would appreciate if someone shares how to define compression level of the new png file.

Thank you
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How can I control compression level when saving to png?

Post by fmw42 »

see the information about PNG compression at https://imagemagick.org/script/command- ... p#compress
Post Reply