note 72439 added to function.imagepng

From: Date: Thu, 18 Jan 2007 20:05:54 +0000
Subject: note 72439 added to function.imagepng
Groups: php.notes 
Request: Send a blank email to php-notes+get-121901@lists.php.net to get a copy of this message
The documentation is wrong. The second argument (filename) cannot be NULL. If it is set to NULL, imagepng() will try to save the resultant image to a '' filename which generates a warning. The only way to have the image output directly is to leave off the second argument entirely, or to use the hidden third and fourth options $compression and $filter. ---- Server IP: 64.71.164.2 Probable Submitter: 67.53.92.74 ---- Manual Page -- http://www.php.net/manual/en/function.imagepng.php Edit -- https://master.php.net/note/edit/72439 Del: integrated -- https://master.php.net/note/delete/72439/integrated Del: useless -- https://master.php.net/note/delete/72439/useless Del: bad code -- https://master.php.net/note/delete/72439/bad+code Del: spam -- https://master.php.net/note/delete/72439/spam Del: non-english -- https://master.php.net/note/delete/72439/non-english Del: in docs -- https://master.php.net/note/delete/72439/in+docs Del: other reasons-- https://master.php.net/note/delete/72439 Reject -- https://master.php.net/note/reject/72439 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#121901) next »