|
-
Mar 30th, 2006, 09:52 PM
#1
Thread Starter
Member
[RESOLVED] drawstring
Hi,
I've use drawstring to draw a string of words onto an image.
However, when you look clearly at the output image below, there are spots around the text string.

i'm using the following to draw the string.
VB Code:
oGraphic.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias;
oGraphic.DrawString(inputText, objFont, objBrush, objRect, objStringFormat);
Can anyone advise me on how to get rid of the spots around the text ?
Thanks.
-
Mar 30th, 2006, 10:48 PM
#2
Hyperactive Member
Re: drawstring
Mt first guess would be to look at the color depth of your graphic object.
Visual Studio .NET 2005/.NET Framework 2.0
-
Mar 30th, 2006, 11:40 PM
#3
Re: drawstring
You are using C# or VB.net?
Edit: And if VB.NET, what version? - Hack
Last edited by Hack; Mar 31st, 2006 at 07:49 AM.
-
Apr 2nd, 2006, 09:18 PM
#4
Thread Starter
Member
Re: drawstring
i've found out the problem.
the above image is output as jpeg, when i specifically output with 100% quality, the above does not happen. So it is due to jpeg compression quality and coding does not really matter.
thanks for the help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|