Can anyone guide how to generate image from input text. Image might have any extension doesn’t matter.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ok, assuming you want to draw a string on an image in C#, you are going to need to use the System.Drawing namespace here:
This code will measure the string first, and then create an image of the correct size.
If you want to save the return of this function, just call the Save method of the returned image.