I am wondering how to properly compress a PNG image.
The situation is as follows:
I have a PNG image compressed and reduced using Irfanview on Windows. This is about 20 KB. When my portal software resizes (using magickwand 1.0.7), it with default values ββis around 63K (!).
The next attempt was to call MagickSetImageDepth ($ this β _ imageHandler, 8), resulting in a file size of 34K, which is better, but still it is larger than the original file (larger).
None of the documented features seem to be suitable for further image compression.
Any hints would be greatly appreciated!
Greetz, Sosa
source
share