On Tue, 21 Sep 2004 19:37:45 +0100, b2 <[EMAIL PROTECTED]> wrote:
> I'm trying to create images with a bit of text pasted on top
> using the code bolow
> My problem is that the text color either are lost (lighter colors) or print
> in a different color
> it seems that it's mix the text color and the background color
> Is there away around this
> <?
> $im1="backgroundimage.jpg";
> Header("Content-type: image/jpeg");
> [EMAIL PROTECTED]("$im1");
> $red = ImageColorAllocate($src,255,0,0);
> $blue = ImageColorAllocate($src,0,0,255);

Try imagecolorresolve() instead here.

> also
> where can I find different fonts that I can use in
> imageloadfont ()

Depends on your system.

c:\windows\fonts
/usr/share/fonts/truetype

is where I've used fonts from previously.


-- 
Greg Donald
http://gdconsultants.com/
http://destiney.com/

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

Reply via email to