Only reduze the image size using the given decimation order.
Supported decimation orders:
0 - zero order (mean)
1 - first order (bilinear decimation) Images must be of the same type. If image type is IM_MAP or IM_BINARY, must use order=0.
Returns zero if the counter aborted.
Change the image size using the given interpolation order.
Supported interpolation orders:
0 - zero order (near neighborhood)
1 - first order (bilinear interpolation)
3 - third order (bicubic interpolation) Images must be of the same type. If image type is IM_MAP or IM_BINARY, must use order=0.
Returns zero if the counter aborted.
Reduze the image area by 4 (w/2,h/2).
Images must be of the same type. Destiny image size must be source image width/2, height/2. Can not operate on IM_MAP nor IM_BINARY images.
Extract a rectangular region from an image.
Images must be of the same type. Destiny image size must be smaller than source image width-xmin, height-ymin.
ymin and xmin must be >0 and <size.
Insert a rectangular region in an image.
Images must be of the same type. Region image size can be larger than source image.
ymin and xmin must be >0 and <size.
Source and destiny must be of the same size. Can be done in place.
Increase the image size by adding pixels with zero value.
Images must be of the same type. Destiny image size must be greatter than source image width+xmin, height+ymin.