Re: [PHP] ImageTTFText leaves Black in letters

2008-06-24 Thread Stephen Pynenburg
27;]); imagefill($i, 0, 0, $bg); imagepng($i); Thanks, Stephen On Tue, Jun 24, 2008 at 5:32 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Stephen Pynenburg [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, June 24, 2008 4:27 PM > > To:

[PHP] ImageTTFText leaves Black in letters

2008-06-24 Thread Stephen Pynenburg
Hi all, I'm using imagettftext, and my script works perfectly, except that on these TTF fonts that I'm using, in any letter with a hole in the middle (letters like a, R, O) the hole is coloured black, not transparent. Is this a PHP thing, or do I need to edit my fonts somehow? Thanks, Stephen

[PHP] GD - Print Animated GIF

2008-06-18 Thread Stephen Pynenburg
Hey All, I'm new to the list, but hopefully it's a nice one :) Anyway, my problem is fairly straightforward, but there doesn't seem to be anything on it anywhere. When I read an animated GIF with imagecreatefromgif(), then print it out with imagegif(), the result is just the first frame of the anim