Graphics functions in server.

Jpeg image:


Png image:


I think you can create a captcha image by yourself. Maybe farther.