List Info

Thread: note 66878 added to function.imagecreatefrompng




note 66878 added to function.imagecreatefrompng
user name
2006-05-31 12:54:33
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.imagecreatefro
mpng.php
Edit        -- http://master.p
hp.net/note/edit/66878
Del: integrated  -- ht
tp://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://m
aster.php.net/note/delete/66878/spam
Del: non-english -- h
ttp://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://ma
ster.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )