The first script creates a static JPEG image with many features, easily and fully customizable. The second script is a math captcha. that creates an animated gif showing a sum, always partially visible (three kinds of animation). Spambots and OCR softwares can never see the complete sum.