note 66878 added to function.imagecreatefrompng

From: Date: Wed, 31 May 2006 12:54:33 +0000
Subject: note 66878 added to function.imagecreatefrompng
Groups: php.notes 
Request: Send a blank email to php-notes+get-112630@lists.php.net to get a copy of this message
I was having trouble with $black = imagecolorallocate($im, 0, 0, 0); , as it would always display grey letters. this solved it however: $black = imagecolorresolve($im, 0, 0, 0); this regarding this function. imagettftext($im, 11, 7, 55, 60, $black, $font, $string); I hope this helps. ---- Server IP: 83.137.20.120 Probable Submitter: 62.59.36.98 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.imagecreatefrompng.php Edit -- http://master.php.net/note/edit/66878 Del: integrated -- http://master.php.net/note/delete/66878/integrated Del: useless -- http://master.php.net/note/delete/66878/useless Del: bad code -- http://master.php.net/note/delete/66878/bad+code Del: spam -- http://master.php.net/note/delete/66878/spam Del: non-english -- http://master.php.net/note/delete/66878/non-english Del: in docs -- http://master.php.net/note/delete/66878/in+docs Del: other reasons-- http://master.php.net/note/delete/66878 Reject -- http://master.php.net/note/reject/66878 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#112630) next »