Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 18, 2009 08:03 AM by Teos
Member
107 Points
31 Posts
Feb 18, 2009 08:03 AM|LINK
I wrote an image generator that creates an image from a string, and uses a custom ttf font. Problem is, the image generated comes out pixelated, I've all the different options of the Graphics object
e.g
Graphics Graph = Graphics.FromImage(Bmp); Graph.TextRenderingHint = TextRenderingHint.AntiAlias; Graph.InterpolationMode = InterpolationMode.Bilinear; Graph.CompositingQuality = CompositingQuality.AssumeLinear; Graph.SmoothingMode = SmoothingMode.AntiAlias;
Any ideas?
Heres a link to an example:
http://dev.gloo.co.za/invest.bmp
gdi+ Image generation
Teos
Member
107 Points
31 Posts
Blurry text on generated image
Feb 18, 2009 08:03 AM|LINK
I wrote an image generator that creates an image from a string, and uses a custom ttf font. Problem is, the image generated comes out pixelated, I've all the different options of the Graphics object
e.g
Graphics Graph = Graphics.FromImage(Bmp);
Graph.TextRenderingHint = TextRenderingHint.AntiAlias;
Graph.InterpolationMode = InterpolationMode.Bilinear;
Graph.CompositingQuality = CompositingQuality.AssumeLinear;
Graph.SmoothingMode = SmoothingMode.AntiAlias;
Any ideas?
Heres a link to an example:
http://dev.gloo.co.za/invest.bmp
gdi+ Image generation