ResizeType
Inheritance: java.lang.Object, com.aspose.ms.System.Enum
Specifies the resize type.
Enum Values
| Field | Description |
|---|---|
| None | The pixels are not preserved during resize operation. |
| LeftTopToLeftTop | Left top point of the new image will coincide with the left top point of the original image. Crop will occur if required. |
| RightTopToRightTop | Right top point of the new image will coincide with the right top point of the original image. Crop will occur if required. |
| RightBottomToRightBottom | Right bottom point of the new image will coincide with the right bottom point of the original image. Crop will occur if required. |
| LeftBottomToLeftBottom | Left bottom point of the new image will coincide with the left bottom point of the original image. Crop will occur if required. |
| CenterToCenter | Center of the new image will coincide with the center of the original image. Crop will occur if required. |
| LanczosResample | Resample using lanczos algorithm with a=3. |
| NearestNeighbourResample | Resample using nearest neighbour algorithm. |
| AdaptiveResample | Resample using adaptive algorithm based on weighted and blended rational function and lanczos3 interpolation algorithms. |
| BilinearResample | Resample using bilinear interpolation. Image pre-filtering is allowed to remove the noice before resample, when needed |
None
public static final int None
The pixels are not preserved during resize operation.
Returns: int
LeftTopToLeftTop
public static final int LeftTopToLeftTop
Left top point of the new image will coincide with the left top point of the original image. Crop will occur if required.
Returns: int
RightTopToRightTop
public static final int RightTopToRightTop
Right top point of the new image will coincide with the right top point of the original image. Crop will occur if required.
Returns: int
RightBottomToRightBottom
public static final int RightBottomToRightBottom
Right bottom point of the new image will coincide with the right bottom point of the original image. Crop will occur if required.
Returns: int
LeftBottomToLeftBottom
public static final int LeftBottomToLeftBottom
Left bottom point of the new image will coincide with the left bottom point of the original image. Crop will occur if required.
Returns: int
CenterToCenter
public static final int CenterToCenter
Center of the new image will coincide with the center of the original image. Crop will occur if required.
Returns: int
LanczosResample
public static final int LanczosResample
Resample using lanczos algorithm with a=3.
Returns: int
NearestNeighbourResample
public static final int NearestNeighbourResample
Resample using nearest neighbour algorithm.
Returns: int
AdaptiveResample
public static final int AdaptiveResample
Resample using adaptive algorithm based on weighted and blended rational function and lanczos3 interpolation algorithms.
Returns: int
BilinearResample
public static final int BilinearResample
Resample using bilinear interpolation. Image pre-filtering is allowed to remove the noice before resample, when needed
Returns: int