Hi,
I have been using Graphics Mill to try to produce PNG images of text strings. These text strings need to be stretched to fit a set size which may not correspond to any standard font size (e.g. it might be taller than the font is).
I have this working, except that when I draw the text on a bitmap, and then resize it, I get dirty edges around the text. I am using white text, and I get gray lines around it after resizing.
The only thing I've found to fix this is to use NearestNeighbour interpolation, but that is low-quality interpolation and has its own problems.
Any suggestions as to how to fix this and have high-quality text?
I've attached some sample code. (If there are any other things I'm doing that aren't the best way, feel free to let me know that, too. I need the text to be anti-aliased on a transparent background, which is why I'm using GDI+.)
Thanks!
Chris
File Attachment(s):
TextGenerator.txt (3kb) downloaded 59 time(s).