RE: [PHP] Image background bleeding through text
| From: | Dan Harrington | Date: | Fri, 23 Mar 2001 17:33:23 +0000 |
| Subject: | RE: [PHP] Image background bleeding through text | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45467@lists.php.net to get a copy of this message | ||
Yes, I have. And I wouldn't mind getting rid of that :-)
> -----Original Message-----
> From: Kevin Rose [mailto:krose@bluebonnet.net]
> Sent: Friday, March 23, 2001 9:37 AM
> To: php-general@lists.php.net
> Subject: [PHP] Image background bleeding through text
>
>
> Hello,
>
> I am using GD v. 1.8.3, freetype 1.3.1 and php
> 4.0.3.p1. I am having a problem with some of my
> background color bleeding through my font/text when I
> create a new image with ImageTTFText. Specifically I
> want my text to be pure white (255,255,255), but it is
> not appearing that way on my output image.
>
> Here is the code I am using:
>
> $fontColor = ImageColorAllocate ($im,255,255,255);
>
> ImageTTFText($im,$fontSize,0,$fontX,$fontY,$fontColor,$
> fontFile,$fontText);
>
> Has anyone else experienced this?
>
> Thank you,
> Kevin
>