Link Search Menu Expand Document

ImagePreprocessingFiltersCollectionAddScale Method (Int32, Boolean)

Add Scale image processing filter with the specified size limit and default interpolation mode (HighQualityBicubic). 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: 12.0.1.2142-master
Syntax
public void AddScale(
	int autoSizeLimit,
	bool enlargeSmallImages
)

Parameters

autoSizeLimit
Type: SystemInt32
Size limit in pixels.
enlargeSmallImages
Type: SystemBoolean
Whether to enlarge small images to the specified limit.
See Also

Reference