This function makes a copy of a DIB info object.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_DIB_info_copy( HIGDIBINFO hDIBSrc, HIGDIBINFO* lphDIBDst ); |
Name | Type | Description |
---|---|---|
hDIBSrc | HIGDIBINFO | DIB info handle from which to copy. |
lphDIBDst | HIGDIBINFO* | Pointer to where copied DIB info handle will be stored. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
All pixel formats supported by ImageGear for C and C++.
Copy Code
|
|
---|---|
AT_ERRCOUNT nErrcount; /* Number of errors on stack */ HIGDIBINFO hDIBInfo; /* Handle of DIB info to be copied */ HIGDIBINFO hDIBInfoCopy; /* Handle of DIB info copy */ HIGEAR hImage; /* HIGEAR handle of image */ nErrcount = IG_image_DIB_info_get(hImage, &hDIBInfo); nErrcount = IG_DIB_info_copy(hDIBInfo, &hDIBInfoCopy); |
This function does not copy pixel data.