PHP Classes

Adding Text Part 2

Recommend this page to a friend!

      GIF images into animated GIF with native PHP class  >  All threads  >  Adding Text Part 2  >  (Un) Subscribe thread alerts  
Subject:Adding Text Part 2
Summary:I want to add text to my animated images
Messages:2
Author:David
Date:2009-10-16 21:12:24
Update:2010-01-18 22:32:04
 

  1. Adding Text Part 2   Reply   Report abuse  
Picture of David David - 2009-10-16 21:12:24
First, thanks for the nice script.

I made some tests and so far it worked good.

I was able to create my first animations with the following script:


$frames [ ] = "avatar/avatar1.gif";
$frames [ ] = "avatar/avatar2.gif";
$framed [ ] = 200;
$framed [ ] = 200;

$gif = new GIFEncoder (
$frames,
$framed,
0,
2,
0, 0, 0,
"url"
);

Header ( 'Content-type:image/gif' );
echo $gif->GetAnimation ( );


I want to add a text to each image (Name of the avatars). How can I do that ?

  2. Re: Adding Text Part 2   Reply   Report abuse  
Picture of David David - 2010-01-18 22:32:04 - In reply to message 1 from David
I am bumping this topic, cause I still want to finish my script.

So please tell me how to add a simple line of text to my animated gif.