Page 1 of 1

best scale/resize method?

Posted: Tue Feb 28, 2006 3:13 pm
by rogerKN
what would be the best method to resize an image, from a quality point of view? i ran a search through this forum but couldn't find anything.

thank you

roger

Posted: Tue Feb 28, 2006 3:36 pm
by JohnFredC
When resampling (either up or down), my concern is always preserving very fine detail with a minimum of added aliasing.

After much testing, the best method for me has proven to be Lanczos.

Posted: Tue Feb 28, 2006 3:38 pm
by rogerKN
thank you for this very clear and fast answer! let the resizing begin :)

Posted: Tue Feb 28, 2006 4:58 pm
by Drahken
It depends greatly on what exactly you're trying to achieve. Lanczos works well for enlarging most images. It also works well for reducing images without text. For reducing images with text, hanning works best (it keeps the text readable much more effectively than the other filters). If you're reducing a gif and plan to re-save it as a gif or 256 color png, don't use any filter (ie, use "nearest neighbor"). The results may not be as pretty, but using any filter on such an image will introduce blurring, which will in turn cause problems when you go to save the pic. (This is especially true with images that have transparency.)

Re: best scale/resize method?

Posted: Tue Feb 28, 2006 10:45 pm
by helmut
rogerKN wrote:... i ran a search through this forum but couldn't find anything.
Hmm, perhaps not the right search keys. There's various topics, e.g.

- How to resize images with text (screenshots)
- How to prepare an image for the internet

And not to forget Lasse's sample pages:
- Sample page for resizing a normal image
- Sample page for resampling an image with text

Note that in the above tests the new Hanning filter is missing in the tests. Hanning might be a good choice for resampling images with text.

Posted: Fri Mar 03, 2006 1:28 pm
by rogerKN
tnx drahken & helmut, and sorry about posting the thread while there were topics about this matter. thread may be deleted/closed now

tnx vor the help!