Re: Image Text
| From: | b2 | Date: | Wed, 22 Sep 2004 09:02:58 +0000 |
| Subject: | Re: Image Text | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197536@lists.php.net to get a copy of this message | ||
imagecolorresolve()
does not make a difference
What other functions is worth playing with
Is there a site where I can download font files ( which I can use in
imageloadfont () ) from
I'm after Arial in a few differnt sizes
"Greg Donald" <destiney@gmail.com> wrote in message
news:ea9da26c0409211228235b03b0@mail.gmail.com...
> On Tue, 21 Sep 2004 19:37:45 +0100, b2 <b2@yoursport.org> 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");
> > $src=@ImageCreateFromJPEG("$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/