Re: Need help with Antialias/Smoothing
From: James Westgate (jameswestgate_at_nospam.nospam)
Date: 10/14/04
- Next message: Vilhelm Heiberg: "EMF Metafile and stream"
- Previous message: N Thorell: "Re: Need help with Antialias/Smoothing"
- In reply to: N Thorell: "Re: Need help with Antialias/Smoothing"
- Next in thread: N Thorell: "Re: Need help with Antialias/Smoothing"
- Reply: N Thorell: "Re: Need help with Antialias/Smoothing"
- Messages sorted by: [ date ] [ thread ]
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.
>>
>>
>>
- Next message: Vilhelm Heiberg: "EMF Metafile and stream"
- Previous message: N Thorell: "Re: Need help with Antialias/Smoothing"
- In reply to: N Thorell: "Re: Need help with Antialias/Smoothing"
- Next in thread: N Thorell: "Re: Need help with Antialias/Smoothing"
- Reply: N Thorell: "Re: Need help with Antialias/Smoothing"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|