Re: Resize algorithm implemented in GDI
- From: Grzegorz Wróbel </dev/null@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 18 Aug 2007 00:14:43 +0200
4N wrote:
Hi,
does someone know what resize algorithm stretchBlt (using HALFTONE option) uses to shrink images?
I used every known interpolant filter I know in the spacial domain and none of them reaches its sharpness so I'm starting to think it's a filter working in the frequency domain...
It looks like a trivial nearest neighbour algorithm (it doesn't increase number of colors in the resized image). It explains it sharpness as well as it's low quality (take any 256 color image and resize it to see how really terrible this algorithm is).
--
Grzegorz Wróbel
http://www.4neurons.com/
677265676F727940346E6575726F6E732E636F6D
.
- Follow-Ups:
- References:
- Resize algorithm implemented in GDI
- From: 4N
- Resize algorithm implemented in GDI
- Prev by Date: Re: how to determine mapping mode while WMF to EMF conversion from WMF stream?please help.
- Next by Date: Re: Resize algorithm implemented in GDI
- Previous by thread: Re: Resize algorithm implemented in GDI
- Next by thread: Re: Resize algorithm implemented in GDI
- Index(es):
Relevant Pages
|