Page 1 of 1
Generating a GIF Image
Posted: Thu Apr 30, 2009 10:18 am
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.
Re: Generating a GIF Image
Posted: Thu Apr 30, 2009 1:48 pm
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.
Re: Generating a GIF Image
Posted: Thu Apr 30, 2009 2:38 pm
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.