higher quality scaling available in C#?

  • Thread starter Thread starter trant
  • Start date Start date
T

trant

I am creating an image containing text and sometimes it is scaled down and
when I do so I use the simple drawImage(img, 0, 0, width height) to perform
the scaling. The result is the text distorts significantly.

I know .NET has some other more specific scaling abilities but does it boil
down to the same quality as what is being done in the background for
drawImage? Or would I expect better results?

If no better result, is there perhaps a 3rd party tool you may recommend
that would do a good job?
 
I do maintain correct aspect ratio, as I modify the dimensions using a %.

However the text quickly becomes too blurry to read while other graphical
features look fine.

What if I had something like the Increase Sharpness filter of Photoshop -
that would be nice... does c# have anything like that?
 
My understanding was that you drawn text on an image and wanted to scale
this image... Do you increase or decrease the size ?

My personal preference would be likely to scale the image and then render
some text using the appropriate settings (font size). This way the text
should be always rendered in a legible way rather than being rendered as an
image and then scaled. Few lines (we don't need all you do, just what shows
the problem) could perhaps help to understand exactly what you are doing.

If you want to render text as a bitmap then it's likely you'll reduce how
resizing can be down as we are liekly much more efficient in findindg
defects in resized text than in a resized picture...

Sorry for the poor help.
 
Back
Top