I need the easy to learn & fast method for generating image from background image, texts and after that saving as JPEG format.
What you can suggest? Any library or tutorial on this? Important criteria is simpleness.
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.
I usually do this using
GDI+. There are lots of tutorials on this on the net, but basically what you need to do is something like this:The calls to
Draw....you can draw primitives, images, text and so forth.Also remember that is text looks jagged, you have methods on the
Graphicsobject to smooth this out. In this caseg.TextRenderingHint = TextRenderingHint.AntiAlias;There are also other options to make it look better, if you feel it is jagged. The default settings is geared more towards performance than quality, so if you want high quality you need to set this yourself.
g.SmoothingModeset to for exampleHighQualitywill make your round primitives look much smoother than the default configuration.It’s really easy to use, and to make the final image look like you want it to, so give it a try!