scale Image
Create a new scaled image.
Parameters
in Path
Path of the input image
out Path
Path of the output image
scaling Ratio
Ratio between the output image and the input image
Throws
if input file cannot be read
Scale image so that both dimensions fit inside given size.
Parameters
in Path
Path of the input image
out Path
Path of the output image
max Image Size
Max image size after resize operation
Throws
if input file cannot be read