Re: Need help with Antialias/Smoothing

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: James Westgate (jameswestgate_at_nospam.nospam)
Date: 10/14/04


Date: Thu, 14 Oct 2004 13:54:05 +0100

AFAIK interpolation mode is the only thing that affects the quality of
scaled images.
Try save in png or windows bitmap as the JPEG encoder may be affecting the
quaility.

My guess is that you are tring to match something done in a professional
package like Adobe and you may not get the same results with standard GDI+.

James

"N Thorell" <NThorell@discussions.microsoft.com> wrote in message
news:8E0EBEF4-F821-410E-B358-4D1FB5316CEA@microsoft.com...
> Yes, but are there any other parameters that influence the 'sharpness'?
> I guess 'SmoothingMode.None' should be used to avoid smooting?
> Still, I cannot reach the same quality as the customer's reference
> picture.
> I tried to save enlarged PowerPoint slides in PNG format and then resize
> in C# by using DrawImage and Save in jpeg format.
> I get the crispest shrinkning with the interpolation filter
> 'NearestNeighbor', but then I loose some pixels, making thin lines
> 'dotted'.
>
> "James Westgate" wrote:
>
>> If you are redrawing an image using DrawImage, first set the
>> graphics.InterpolationMode property to determine how the image is drawn
>> when
>> it is resized.
>>
>> James
>>
>> --
>> Create interactive diagrams and flowcharts with ERM Diagram at
>> http://www.crainiate.net
>>
>>
>> "DotNetJunkies User" <User@-NOSPAM-DotNetJunkies.com> wrote in message
>> news:%23lAc97bsEHA.1452@TK2MSFTNGP11.phx.gbl...
>> > When I reduce the resolution of a picture (to 640x480) I do NOT want
>> > any
>> > smoothing that makes the picture blurred. What is the best setting for
>> > keeping the picture look crisp and sharp?
>> >
>> > ---
>> > Posted using Wimdows.net NntpNews Component -
>> >
>> > Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup
>> > engine supports Post Alerts, Ratings, and Searching.
>>
>>
>>



Relevant Pages

  • Re: Word & PDF file size bloats
    ... Many programs such as Microsoft Office will set the quality very low if you ... The real benefit of PNG is that it compresses the file by 20 to 1, ... in the native format for that platform. ... PNG was created to avoid the quality loss inherent with JPEG and GIF. ...
    (microsoft.public.mac.office.word)
  • Re: Word & PDF file size bloats
    ... I'm afraid the PNG was rather poor quality. ... advanced email program it would automatically Zip the ... PNG was created to avoid the quality loss inherent with JPEG and GIF. ...
    (microsoft.public.mac.office.word)
  • Re: Word & PDF file size bloats
    ... Preview may have saved it in RTF, which is about four times bigger than doc ... Many programs such as Microsoft Office will set the quality very low if you ... The real benefit of PNG is that it compresses the file by 20 to 1, ... John McGhie, Microsoft MVP, Consultant Technical Writer, ...
    (microsoft.public.mac.office.word)
  • Re: Word & PDF file size bloats
    ... Many programs such as Microsoft Office will set the quality very low if you ... The real benefit of PNG is that it compresses the file by 20 to 1, ... in the native format for that platform. ... John McGhie, Microsoft MVP, Consultant Technical Writer, ...
    (microsoft.public.mac.office.word)
  • Re: Word & PDF file size bloats
    ... John, this is tremendously helpful. ... Many programs such as Microsoft Office will set the quality very low if you ... The real benefit of PNG is that it compresses the file by 20 to 1, ... in the native format for that platform. ...
    (microsoft.public.mac.office.word)