10-01-2001, 08:49 PM
I'm a fairly new VB programmer with a knotty problem. I have inherited a program to create banners for the Internet. Text is placed into a Picture Box and its saved as a bitmap. Trouble is the text is jagged and needs anti-aliasing. Is there a way to code this into the application? I would really appreciate any help here.
10-01-2001, 08:58 PM
<blockquote><font size=1>In reply to:</font><hr>
Is there a way to code this into the application?
Yes, I'm sure there is...There's almost always a way, but I'm not sure on how to do this....
Are you sure it's not the fonts you're using? (I've never had problems with jagged text before)
"I do not agree with a word you say, but I will defend to the death your right to say it" - Voltaire
10-01-2001, 09:04 PM
Pretty sure it's not the text. I'm using Arial Bold Italic, and while the text is not too bad - you can still see the uneven edges.
10-03-2001, 06:23 AM
Anti aliasing would involve going through the image, pixel by pixel, averaging a block of four or nine, and then writing back the new pixel.
I'm still struggling with this myself actaully, but no doubt if you serach PSC, there'll be something there.
Or you could try using a different font - truetype fonts are sclaed very gracefully. Play around and you shoul dfind something suitable.
"How are we to learn, if those that know will not teach... ?" - Me.