ImageGear Professional DLL v18.1 for Windows
IG_DIB_info_copy
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > DIB Functions > IG_DIB_info_copy

Glossary Item Box

This function makes a copy of a DIB info object.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_DIB_info_copy(
        HIGDIBINFO hDIBSrc, 
        HIGDIBINFO* lphDIBDst 
);

Arguments:

Name Type Description
hDIBSrc HIGDIBINFO DIB info handle from which to copy.
lphDIBDst HIGDIBINFO* Pointer to where copied DIB info handle will be stored.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

Sample:

None

Example:

  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);

Remarks:

This function does not copy pixel data.

©2014. Accusoft Corporation. All Rights Reserved.