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
best scale/resize method?
Moderators: XnTriq, helmut, xnview
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
-
- Posts: 884
- Joined: Sun Apr 10, 2005 4:29 pm
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.)
Oh the feuhrer, oh the feuhrer, oh the feuhrer's nipples bonk!
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
Re: best scale/resize method?
Hmm, perhaps not the right search keys. There's various topics, e.g.rogerKN wrote:... i ran a search through this forum but couldn't find anything.
- 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.