SetImageOriginalSize
Function Usage
Sets the width and height of valid images.
Set the size based on the actual input image data of the Image. The image data cannot be empty.
Prototype
1 | APP_ERROR Image::SetImageOriginalSize(const Size whSize); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
whSize |
Input |
Valid width/height, in pixels. The valid width/height range is [6, 8192], which cannot exceed the aligned width/height. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: Image