An image's dimensions can be reduced in XnView by opening the image and using the menu "Image > Resize". For graphics, the resampling algorithm Lanczos gives good results for most images.
When reducing size of an image which contains text (e.g. Screenshots), the text in the image will become blur due to the anti-aliasing used in the resampling algorithm (Lanczos, ...).
Using a resampling algorithm (e.g. Nearest Neighbor) which does not do anti-aliasing would help, but the results are bad since the algorithm will simply remove lines and rows of pixels in the image and the image will not look that nice.
A good way to get both a nice image and readable text:
1.) Reduce the image's size with a good resampling algorithm, e.g. Lanczos
2.) Sharpen the image a bit ("Filter > Misc > Sharpen, e.g. 10).
If you don't like the result, you just undo (Edit > Undo) or reload your original and repeat.
When saving in lossy JPG format, you might get artefacts which will make the text less readable, again. So you should try to save the image in a lossless format. For images for the web I recommend PNG or GIF.
Sample screenshot (notice the tiny, but sharp text in the image):
Notes:
- Forum member "Lasse" has tested the resizing of screenshots containing text using various resampling algorithms of XnView. He provides the results on his webpage. His conclusion is that with only downsizing the results have poor quality.
- Post 'How to prepare an image for the internet?' might also provide interesting informations.
- This info is based on the topic Reduce an image with text makes text blur
How to resize images with text (screenshots)
Moderators: XnTriq, helmut, xnview
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
-
- Posts: 1
- Joined: Wed Sep 13, 2023 10:40 am
Re: How to resize images with text (screenshots)
Here are the steps on how to resize an image with text in XnView without making it blurry:
Open the image in XnView.
Go to Image > Resize.
In the Resize dialog, select a resampling algorithm. The Lanczos algorithm is a good choice for most images.
Enter the desired width and height of the resized image.
Click OK.
Go to Filter > Misc > Sharpen.
Enter a sharpening value of 10 or more.
Click OK.
Save the resized image.
You can also use other image editing software to resize images with text. The steps will be similar, but the specific menus and options may vary.
Here are some additional tips for resizing images with text:
Don't resize the image too much. The more you resize an image, the more the text will become blurry.
Use a lossless image format. Lossy image formats, such as JPEG, can introduce artifacts that make the text less readable. Lossless image formats, such as PNG and GIF, do not introduce these artifacts.
Sharpen the image after resizing it. This will help to improve the clarity of the text.
Open the image in XnView.
Go to Image > Resize.
In the Resize dialog, select a resampling algorithm. The Lanczos algorithm is a good choice for most images.
Enter the desired width and height of the resized image.
Click OK.
Go to Filter > Misc > Sharpen.
Enter a sharpening value of 10 or more.
Click OK.
Save the resized image.
You can also use other image editing software to resize images with text. The steps will be similar, but the specific menus and options may vary.
Here are some additional tips for resizing images with text:
Don't resize the image too much. The more you resize an image, the more the text will become blurry.
Use a lossless image format. Lossy image formats, such as JPEG, can introduce artifacts that make the text less readable. Lossless image formats, such as PNG and GIF, do not introduce these artifacts.
Sharpen the image after resizing it. This will help to improve the clarity of the text.