note 85974 added to function.imagecreatetruecolor

From: Date: Fri, 26 Sep 2008 15:59:10 +0000
Subject: note 85974 added to function.imagecreatetruecolor
Groups: php.notes 
Request: Send a blank email to php-notes+get-144796@lists.php.net to get a copy of this message
Richard Davey rich at corephp dot co's code is "almost" great except that it creates some interference with file creation/reading under Debian R3 when using imagecreatetruecolor among with imagesavealpha and imagefill. I have a code that creates a txt file with data that is readen by a second PHP file that later generates an image but I noted that the txt file was not found in the server. It worked fine in Windows but Debian just didn't keep the txt file in the directory. I switched to thomas dot urban at toxa dot de's code with the corresponding fix on imagecolorallocatealpha instead of imagecolorallocate and it worked fine both in Windows and Debian. I also ignored the last thoma's code: imagealphablending( $im, false ); imagesavealpha( $im, true ); imagepng( $im ); But it works fine if you include those lines too. ---- Server IP: 69.147.83.197 Probable Submitter: 201.221.154.33 ---- Manual Page -- http://www.php.net/manual/en/function.imagecreatetruecolor.php Edit -- https://master.php.net/note/edit/85974 Del: integrated -- https://master.php.net/note/delete/85974/integrated Del: useless -- https://master.php.net/note/delete/85974/useless Del: bad code -- https://master.php.net/note/delete/85974/bad+code Del: spam -- https://master.php.net/note/delete/85974/spam Del: non-english -- https://master.php.net/note/delete/85974/non-english Del: in docs -- https://master.php.net/note/delete/85974/in+docs Del: other reasons-- https://master.php.net/note/delete/85974 Reject -- https://master.php.net/note/reject/85974 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#144796) next »