VintaSoft Barcode .NET SDK 16.0: Documentation for Web developer
Vintasoft.Barcode.Web.Services Namespace / WebBarcodeReaderSettings Class / imageScaleFactor Property
Syntax Remarks Requirements SeeAlso
In This Topic
imageScaleFactor Property (WebBarcodeReaderSettings)
In This Topic
Gets or sets a scale factor that is used for upscaling or downscaling an image before barcode recognition.
Syntax
'Declaration

Public Property imageScaleFactor As Single

public float imageScaleFactor { get; set; }

Property Value

Minimum value is 0.1, maximum value is 4.0. Default value is 1.
Remarks

Recomendations: To increase recognition quality - upscale image if image contains very small barcodes (single bar or matrix cell is less than 1.5 pixel). To increase recognition speed - downscale image if image contains large barcodes (single bar or cell is greater than 6 pixels). Optimal single bar or matrix cell size is 3..6 pixels.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7, .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5

See Also