Click here to Skip to main content
15,898,371 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
CSS
Hi sir,
    Tell me the steps to create a captcha image in asp.net c# using System.Drawing. I have a code to generate captcha text, but i need to display as image to the user instead of displaying in label or textbox. Kindly give me the solution for this problem.


[Hint: Need code to draw a text image using System.Drawing. Suppose if i pass the text as "Ky9f8" it will draw the corresponding image draw]
Posted
Comments
Sriram Bala 12-Sep-13 2:56am    
Hi, there is an article in codeproject regarding captcha project place have a look this might resolve your problem.
http://www.codeproject.com/Articles/5947/CAPTCHA-Image
Sergey Alexandrovich Kryukov 12-Sep-13 3:04am    
Sure, you are recommended to use System.Drawing. In principle, you can draw all you want, but... what's the problem? I guess, morphing the text, isn't it?
—SA

refer the following links

[link1]

[link2]





Ravi Halvadiya

www.InsightSoftech.com
 
Share this answer
 
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900