Method allows to crop specified region from image
or delta is smaller than 0
or crop region dimension is smaller or equal zero
or crop region is beyond the image
Class allows to scale image with approximate width and height
Result image will not contain exact width and height given by user
if there will be image deformation
Class allows to scale image with approximate width and height
Result image will not contain exact width and height given by user
if there will be image deformation
Class allows to scale image with approximate width and height
Result image will not contain exact width and height given by user
if there will be image deformation
We provide two types of image resize to eliminate situation
when scale is > 1, for such action SubsampleAverage throw exception
For this situation we resize image by "scale"
Method allows to scale image with accurate width and height
Width and height will be always (almost ;)) equals to set parameters
Image will no be deformed but first scaled and next cropped on the center
(if it will necessary)
Method allows to scale image with approximate width and height
Width and height of image will never be greater than parameters width and height
but it could be lover (image could not be deformed)
Specify image size correction for scaling
Sometimes during scaling there are situations
when one of the sides don't match requested size (is lover by one px)
Can be fixed by adding this 1px to image size before scale calculations.