note 82082 added to ref.image

From: Date: Thu, 27 Mar 2008 06:11:22 +0000
Subject: note 82082 added to ref.image
Groups: php.notes 
Request: Send a blank email to php-notes+get-137618@lists.php.net to get a copy of this message
If you get the URL of the script(for ff) instead of a png with an apache warning: Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error you might wanna change imagepng($im,"",100); to imagepng($im); or change the last input to an int between 0 and 9. Reason being from php4 to php5, the quality range changes for imagePNG from 0-99 to 0-9. Credits to the guys at Suffolk! Hope it save someone hrs of headache. =) http://blog.suffolk-web-design.co.uk/2007/06/ gd-png-fatal-libpng-error-zlib-error.html ---- Server IP: 203.211.135.122 Probable Submitter: 203.117.165.66 ---- Manual Page -- http://www.php.net/manual/en/ref.image.php Edit -- https://master.php.net/note/edit/82082 Del: integrated -- https://master.php.net/note/delete/82082/integrated Del: useless -- https://master.php.net/note/delete/82082/useless Del: bad code -- https://master.php.net/note/delete/82082/bad+code Del: spam -- https://master.php.net/note/delete/82082/spam Del: non-english -- https://master.php.net/note/delete/82082/non-english Del: in docs -- https://master.php.net/note/delete/82082/in+docs Del: other reasons-- https://master.php.net/note/delete/82082 Reject -- https://master.php.net/note/reject/82082 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#137618) next »