This section provides instructions on getting information for a HIGEAR.
|
Copy Code
|
|
|---|---|
if ( IG_image_is_valid(hIGear) ) { ... }
|
|
|
Copy Code
|
|
|---|---|
if ( IG_image_is_gray(hIGear, &bItsGray) ) { ... }
|
|
|
Copy Code
|
|
|---|---|
AT_DIMENSION nWidth, nHeight; UINT nBpp;IG_image_dimensions_get(hIGear, &nWidth, &nHeight, &nBpp); DWORD nCompression;IG_image_compression_type_get(hIGear, &nCompression); |
|
| C and C++ |
Copy Code
|
|---|---|
AT_RESOLUTION resolution;
IG_image_resolution_get(image, &resolution.xResNumerator, &resolution.xResDenominator,
&resolution.yResNumerator, &resolution.yResDenominator, &resolution.nUnits);
|
|
If you need to access a DIB directly, refer to IG_image_DIB_palette_pntr_get().