Resizing an image according to its given length and width.
Note:
If the length and/or width are smaller than the original values, then a literal cropping to the desired dimensions will be performed (not interpolation or approximation, but real cropping!).
If the size parameters are larger than the original ones, then the image size will be increased by adding the default color to the end of the image (real array addition will be performed, not interpolation).
WARNING:
The method is highly controversial and experimental. We strongly discourage its use in real projects.
Resizing an image according to its given length and width. Note: If the length and/or width are smaller than the original values, then a literal cropping to the desired dimensions will be performed (not interpolation or approximation, but real cropping!). If the size parameters are larger than the original ones, then the image size will be increased by adding the default color to the end of the image (real array addition will be performed, not interpolation).
WARNING: The method is highly controversial and experimental. We strongly discourage its use in real projects.