Documentation
Table of contents

ScaleDownThreshold

Parameter ScaleDownThreshold defines the threshold for image shrinking.

Example

{
    "ScaleDownThreshold": 1024
}

Parameter Summary

When the input image is too large, this parameter ScaleDownThreshold can be used to reduce the size.

ScaleDownThreshold Parameter Summary
Description
If the shorter edge size is larger than the given value, the library will calculate the required height and width of the barcode image and shrink the image to that size before going to further processes. Otherwise, it will perform processes on the original image.
Type
int
Value range
[512, 0x7fffffff]
Default Value
2300

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version (2.2.20)
    • Version 2.x
      • Version 2.2.10
      • Version 2.2.0
      • Version 2.0.30
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support