I need to convert text to image, using specified fonts, size, etc.
Looks like everything is ok when using standard DrawString method
but, when I'm trying to do it under Windows 7 I have my picture blurred
this is a screenshot from Windows XP / Windows 2008 server
and this is from Windows 7
also I tried to play with System.Drawing.Imaging.Encoder.Quality;
but even with max value of EncoderParameter blur effect doesn't disappear
I have no idea where is the problem, hope that you will be able to help.
Jump to Post
There are a couple things you can do:
1) Use TextRenderer.DrawText() and not Graphics.DrawString()
You did not specify if you were using .NET 2.0 or not, but if you are then you should use the TextRenderer class. The other method in the Graphics class does GDI which is not very …
All 2 Replies
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.