c# - Image manipulation -


i need easy learn & fast method generating image background image, texts , after saving jpeg format.

what can suggest? library or tutorial on this? important criteria simpleness.

i using gdi+. there lots of tutorials on over net, need this:

using(image image = new bitmap(width, height)) using (graphics g = graphics.fromimage(image)) {   g.draw....   g.draw....   image.save(filename, imageformat.jpeg); } 

the calls draw.... can draw primitives, images, text , forth.

also remember text looks jagged, have methods on graphics object smooth out. in case g.textrenderinghint = textrenderinghint.antialias;

there other options make better, if feel jagged. default settings geared more towards performance quality, if want high quality need set yourself. g.smoothingmode set example highquality make round primitives smoother default configuration.

it's easy use, , make final image want to, give try!


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -