%%img src=sc-main.png alt="application main window" title%%
%%index text="scale image"%%Wximgsz
suggests new width/height pairs to resize a bitmap image.
It uses only scaling coefficients resulting in integer values
for width and height.
The suggested width/height pairs are evaluated:
- Acceptable (red background):
Although width and height are integer numbers, the scale factor
is a rational number. Not all image processing programs will
produce good results in this situation.
- Good (yellow background):
The scale factor is an integer number but not a power of 2.
- Very good (green background):
The scale factor is a power of 2.