Resize
Contents
[
Hide
]Resize(int, int, InterpolationFilterType)
Rescale image - Upscale or downscale image resolution.
public static PreprocessingFilter Resize(int width, int height, InterpolationFilterType type)
Parameter | Type | Description |
---|---|---|
width | Int32 | The new width of the image. |
height | Int32 | The new height of the image. |
type | InterpolationFilterType | InterpolationFilterType |
Return Value
ResizeFilter object.
See Also
- enum InterpolationFilterType
- class PreprocessingFilter
- namespace Aspose.OCR.Models.PreprocessingFilters
- assembly Aspose.OCR
Resize(int, int)
Rescale image - Upscale or downscale image resolution. InterpolationFilterType = Lanczos8
public static PreprocessingFilter Resize(int width, int height)
Parameter | Type | Description |
---|---|---|
width | Int32 | The new width of the image. |
height | Int32 | The new height of the image. |
Return Value
ResizeFilter object.
See Also
- class PreprocessingFilter
- namespace Aspose.OCR.Models.PreprocessingFilters
- assembly Aspose.OCR