scalerx [-k N] [-w] [-r N] input.png output.png
They were originally developed for the AdvanceMAME project in the year 2001 to improve the quality of old games running at low video resolutions.
The specification of the algorithm and more details are at:
http://scale2x.sourceforge.net
|
These command line tools read a .PNG file and write another image with the effects applied.
The reference implementation of the Scale effects is used.
-k N, --scale N |
Select the scale factor. Available values are 2, 2x3, 2x4, 3, and 4. |
-w, --wrap |
Compute the image border for a wraparound effect. |
-r N |
Select a specific revision of the Scale2x effect. The standard algorithm is always 1. To scale an image without any effect use the value 0. Other nunbers are alternative versions. Refers at the source implementation for more details. |