调整大小
Resize(int, int, InterpolationFilterType)
重新缩放图像——放大或缩小图像分辨率。
public static PreprocessingFilter Resize(int width, int height, InterpolationFilterType type)
| Parameter | Type | 描述 |
|---|---|---|
| width | Int32 | 图像的新宽度。 |
| 高度 | Int32 | 图像的新高度。 |
| type | InterpolationFilterType | InterpolationFilterType |
返回值
ResizeFilter 对象。
另请参见
- enum InterpolationFilterType
- class PreprocessingFilter
- namespace Aspose.OCR.Models.PreprocessingFilters
- assembly Aspose.OCR
Resize(int, int)
重新缩放图像——放大或缩小图像分辨率。InterpolationFilterType = Lanczos8
public static PreprocessingFilter Resize(int width, int height)
| Parameter | Type | 描述 |
|---|---|---|
| width | Int32 | 图像的新宽度。 |
| 高度 | Int32 | 图像的新高度。 |
返回值
ResizeFilter 对象。
另请参见
- class PreprocessingFilter
- namespace Aspose.OCR.Models.PreprocessingFilters
- assembly Aspose.OCR