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.
1 | APP_ERROR Image::SetImageOriginalSize(const Size whSize); |
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. |
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |