Table of Contents

Enum ResizeType

Namespace
Aspose.CAD
Assembly
Aspose.CAD.dll

Specifies the resize type.

[ComVisible(false)]
public enum ResizeType

Fields

AdaptiveResample = 8

Resample using adaptive algorithm based on weighted and blended rational function and lanczos3 interpolation algorithms.

BilinearResample = 9

Resample using bilinear interpolation. Image pre-filtering is allowed to remove the noice before resample, when needed

CenterToCenter = 5

Center of the new image will coincide with the center of the original image. Crop will occur if required.

LanczosResample = 6

Resample using lanczos algorithm with a=3.

LeftBottomToLeftBottom = 4

Left bottom point of the new image will coincide with the left bottom point of the original image. Crop will occur if required.

LeftTopToLeftTop = 1

Left top point of the new image will coincide with the left top point of the original image. Crop will occur if required.

NearestNeighbourResample = 7

Resample using nearest neighbour algorithm.

None = 0

The pixels are not preserved during resize operation.

RightBottomToRightBottom = 3

Right bottom point of the new image will coincide with the right bottom point of the original image. Crop will occur if required.

RightTopToRightTop = 2

Right top point of the new image will coincide with the right top point of the original image. Crop will occur if required.