note 81699 added to function.imagecreatetruecolor

From: Date: Mon, 10 Mar 2008 11:51:54 +0000
Subject: note 81699 added to function.imagecreatetruecolor
Groups: php.notes 
Request: Send a blank email to php-notes+get-136896@lists.php.net to get a copy of this message
If you want to place an image on a larger canvas you've previously created with imagecreatetruecolor(), but you don't want the default black background to surround it: use imagefill() AFTER imagecopyresampled(). I have no idea why this should be the case, but it works! ---- Server IP: 87.124.64.96 Probable Submitter: 195.171.92.226 ---- Manual Page -- http://www.php.net/manual/en/function.imagecreatetruecolor.php Edit -- https://master.php.net/note/edit/81699 Del: integrated -- https://master.php.net/note/delete/81699/integrated Del: useless -- https://master.php.net/note/delete/81699/useless Del: bad code -- https://master.php.net/note/delete/81699/bad+code Del: spam -- https://master.php.net/note/delete/81699/spam Del: non-english -- https://master.php.net/note/delete/81699/non-english Del: in docs -- https://master.php.net/note/delete/81699/in+docs Del: other reasons-- https://master.php.net/note/delete/81699 Reject -- https://master.php.net/note/reject/81699 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136896) next »