ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDE_image_get_data
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_IMAGE > IG_PDE_image_get_data

Glossary Item Box

Gets an image's data.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_image_get_data (
        HIG_PDE_IMAGE hImage,
        LONG nFlags,
        LPBYTE lpData );

Arguments:

hImage Image whose data is obtained.
nFlags Unused, must be 0.
lpData Image data. If the data is decoded, lpData must be large enough to contain the number of bytes specified in the AT_PDE_IMAGEATTRS structure obtained by IG_PDE_image_get_attrs. If the data is encoded, lpData must be large enough to contain the number of bytes in the lpnEncodedLen parameter obtained by IG_PDE_image_is_data_encoded.

Remarks:

If the image is a XObject image, data is always returned as decoded data.

See the note about inline images under IG_PDE_image_is_data_encoded.

Supported Raster Image Formats:

This function does not process image pixels.

Return Value:

Error count.

©2012. Accusoft Corporation. All Rights Reserved.