This function obtains the load size dimensions.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_load_size_get( LPAT_DIMENSION lpWidth, LPAT_DIMENSION lpHeight ); |
Name | Type | Description |
---|---|---|
lpWidth | LPAT_DIMENSION | Pointer to variable of type AT_DIMENSION to receive the load size width. |
lpHeight | LPAT_DIMENSION | Pointer to variable of type AT_DIMENSION to receive the load size height. |
This function does not process image pixels.
None
Copy Code
|
|
---|---|
AT_DIMENSION nWid, nHi; /* Will receive current load size settings */
AT_ERRCOUNT nErrCount = IG_load_size_get ( &nWid, &nHi );
|
To reset ImageGear so that it will default to normal resolution, set both parameters to 0 using IG_load_size_set.