Need better scanning performance?
ScaleImageStage
ScaleImageStage down/up scales the image. In JSON, it is represented as a Stage object with "Stage": "SST_SCALE_IMAGE".
JSON Structure
Location in template:
ImageParameterOptions[i]
└── ApplicableStages[j] (Stage object where Stage = "SST_SCALE_IMAGE")
Parent object: ApplicableStages within ImageParameter
Example:
{
"Stage": "SST_SCALE_IMAGE",
"ImageScaleSetting": {
"ScaleType": "ST_SCALE_DOWN",
"ReferenceEdge": "RE_SHORTER_EDGE",
"EdgeLengthThreshold": 2300
}
}
- This snippet shows a Stage object configured for scaling images.
- To use it, add this object to the
ApplicableStagesarray within an ImageParameter.- For the complete JSON structure, see:
Parameters
Stage
Specifies the stage type. Fixed value: SST_SCALE_IMAGE.
| Parameter Details |
|---|
| Type string |
| Required Yes |
Default Value"SST_SCALE_IMAGE" |
ImageScaleSetting
Defines how to scale the image. See ImageScaleSetting for details.