Page 1 of 1

Compress a PNG File

Posted: 2010-03-30T02:43:38-07:00
by Seij
Hello there,

I currently try to write an image to a png file with compression. But it seems not to compress the image after all. The original filesize of the image is 132,2 kb and when I try to save it as a png file its filesize grows to 512,5 kb.
I use the following statement to save the image: $image->Write( filename => 'png:example.png', compression => 'none', quality => 95 );
I also tried to set compression to 'JPEG2000' and tried with some other values for quality but I doesn't go below 512 kb

What I'm doing wrong?

Greets
Seij