Generating a GIF Image

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Generating a GIF Image

Post by Vegan »

Anyone had any experience generating an animated GIF with PHP?

I am seeking some ideas and code to develop a cylinder with text on it to beat up on spammers.

If less than all of the text is visible, then the OCR cannot read it.
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Generating a GIF Image

Post by Christopher »

I recall that animated GIFs are just a GIF header with concatenated frames. If you search the web for building animated GIF with PHP you will find examples.
(#10850)
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Re: Generating a GIF Image

Post by Vegan »

Thanks, the first link found had some code that looked like it could have some serious potential.

It showed many techniques for generating centered around an animated GIF that will be help and the source is very well documented.

I am looking at the GIF was a format that can be leveraged in a CAPTCHA tool as I have been annoyed to no end with all of the porn spam on my sites. My forums are phpBB (like here) and it has been a popular target for spammers as I am sure the moderators have noticed.

My opinion is that if the image does not show all of the letters at once then OCR does not see it and thus fails. I wish. Probably would not be long before some malcontent writes a hack.

I was thinking that a cylinder with 3D text might have some potential too. If it rolls to reveal parts of the text, then OCR has even more problems.
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
Post Reply