ImageGear Professional DLL v17.1 for Windows Accusoft
IG_image_duplicate
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Functions Reference > General Image Functions > IG_image_duplicate

Glossary Item Box

This function creates an exact duplicate of the current HIGEAR image, and returns the handle to the new image to you in lphIGear.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_image_duplicate (
        HIGEAR hIGear, 
        LPHIGEAR lphIGear
);

Arguments:

hIGear HIGEAR handle to the current image to be duplicated.
lphIGear A far pointer in which the handle of the new, duplicate image is returned.

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:

Color, Image Processing

Example:

  Copy Code
HIGEAR hIGear;/* HIGEAR handle of image  */
HIGEAR lphIGear;  /* HIGEAR handle to new duplicate image   */
IG_image_duplicate(hIGear, &lphIGear);
©2012. Accusoft Corporation. All Rights Reserved.