scale2x - Scale an image using the Scale2x algorithm
% scale2x [-x scale] file.png > file2.png
This utility allows you to scale an image using the Scale2x algorithm. It takes in an image of any format that GD understands and outputs a png. You can specify an integer value by which your image should be scaled (default: 2). Example:
# scale4x % scale2x -x 4 file.png > file4x.png
To install GD::Image::Scale2x, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GD::Image::Scale2x
CPAN shell
perl -MCPAN -e shell install GD::Image::Scale2x
For more information on module installation, please visit the detailed CPAN module installation guide.