ResizeType enumeration

ResizeType enumeration

Specifies the resize type.

The ResizeType type exposes the following members:

Fields

FieldDescription
NONEThe pixels are not preserved during resize operation.
LEFT_TOP_TO_LEFT_TOPLeft top point of the new image will coincide with the left top point of the original image. Crop will occur if required.
RIGHT_TOP_TO_RIGHT_TOPRight top point of the new image will coincide with the right top point of the original image. Crop will occur if required.
RIGHT_BOTTOM_TO_RIGHT_BOTTOMRight bottom point of the new image will coincide with the right bottom point of the original image. Crop will occur if required.
LEFT_BOTTOM_TO_LEFT_BOTTOMLeft bottom point of the new image will coincide with the left bottom point of the original image. Crop will occur if required.
CENTER_TO_CENTERCenter of the new image will coincide with the center of the original image. Crop will occur if required.
LANCZOS_RESAMPLEResample using lanczos algorithm with a=3.
NEAREST_NEIGHBOUR_RESAMPLEResample using nearest neighbour algorithm.
ADAPTIVE_RESAMPLEResample using adaptive algorithm based on weighted and blended rational function and lanczos3 interpolation algorithms.
BILINEAR_RESAMPLEResample using bilinear interpolation. Image pre-filtering is allowed to remove the noice before resample, when needed

See Also