Resource Base
Table of contents

ScaleDownThreshold

ScaleDownThreshold controls the threshold used when shrinking an image. If the shorter edge size is larger than the given value, the library will calculate the required height and width of the image and shrink the image to that size.

Setting Methods

As JSON Parameter

ScaleDownThreshold as a JSON parameter is a number value defined as below.

Parent Json Object Key Name Key Value Type Key Value Range Key Default Value
ImageParameter ScaleDownThreshold int [512, 0x7fffffff] 2300

Example

{
    "ScaleDownThreshold": 2300
}

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(2.2.10)
    • Version 2.x
      • Version 2.2.0
      • Version 2.0.21
      • Version 2.0.20
      • Version 2.0.11
      • Version 2.0.10
      • Version 2.0.0
    • Version 1.x
      • Version 1.0.21
      • Version 1.0.20
      • Version 1.0.12
      • Version 1.0.11
      • Version 1.0.10
      • Version 1.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support