Link Search Menu Expand Document

ImagePreprocessingFiltersCollectionAddScale Method (Int32, Boolean, InterpolationMode)

Add Scale image processing filter with specified size limit and interpolation mode. When the image width or height exceeds the limit, the image proportionally resized to it.

Namespace:Bytescout.BarCodeReader
Assembly: Bytescout.BarCodeReader (in Bytescout.BarCodeReader.dll) Version: 11.6.2.2053-master
Syntax
public void AddScale(
	int autoSizeLimit,
	bool enlargeSmallImages,
	InterpolationMode interpolationMode
)

Parameters

autoSizeLimit
Type: SystemInt32
Size limit in pixels.
enlargeSmallImages
Type: SystemBoolean
Whether to enlarge small images to the specified limit.
interpolationMode
Type: System.Drawing.Drawing2DInterpolationMode
Interpolation mode (InterpolationMode).
See Also

Reference


Copyright © 2016 - 2021 ByteScout