From PHP 4 to PHP 5.. PHP Fatal zlib error: imagepng()
Getting this error?
PHP Fatal error: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in example.php on line 10
Fix it easily by changing your compression variable of imagepng, imagegif or imagejpg/imagejpeg into a 1-10 ranged number - instead of the PHP 4 1-100 standard.
It should work smoothly now :)
There are 4 responses to this post so far
-
Joe wrote: -
Jatin wrote: -
vic wrote: -
fedora_rocks wrote:


