ImagePreprocessingFiltersCollectionAddScale Method (Int32, Boolean, InterpolationMode)
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
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.BarCodeReaderAssembly: Bytescout.BarCodeReader (in Bytescout.BarCodeReader.dll) Version: 12.0.1.2142-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