Menu

wximgsz

Dirk Krause
← Previous ↑ Home → Next

wximgsz — Suggest size pairs to rescale image

wximgsz main window screenshot


Overview

When rescaling an image the quality of the result depends on the scale factor.

The wximgsz program suggests new width/height combinations and evaluates the scale factors.
Use your favourite bitmap graphics editor to do the scale operation.


Scale factors

Factor evaluation Scale factor
Minimum When applying the same scale factor to width andheight both new width and height must be integer numbers.
Better If the scale factor used to decrease or increase an image is an integer the resulting image quality typically is better than using a fraction as scale factor.
Best Some programs produce best results when the scale factor used to increase or decrease an image is a power of 2.

Program usage

In the upper left corner enter width and height of the original image.

In the lower left corner first choose an action to perform:

Selection Purpose
Decrease image Calculate all width/height combinations to decrease the image.
Width range Calculate width/height combinations fitting into a specified width range. Enter the width range minimum and maximum below.
Height range Calculate width/height combinations fitting into a specified height range. Enter the height range minimum and maximum below.

Use the "Calculate new image sizes" button in the center of the window.

The results are shown in the grid table on the right side. Each result is shown in a line: width, height and scale factor.
The scale factor quality is shown by the background colour or a quality symbol (use menu item "Extras" → "Options" to toggle).

Colour Quality symbol Scale factor quality
Green ++ Powers of 2.
Yellow + Other integer scale factors.
Red All other scale factors.

Notes

This program uses DK libraries version 3.


← Previous ↑ Home → Next

Related

Wiki: Home