ImageGear Professional v18.2 > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_IMAGE > IG_PDE_image_get_data |
Gets an image's data.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_image_get_data ( HIG_PDE_IMAGE hImage, LONG nFlags, LPBYTE lpData ); |
Name | Type | Description |
hImage | HIG_PDE_IMAGE | Image whose data is obtained. |
nFlags | LONG | Unused, must be 0. |
lpData | LPBYTE | 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. |
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.
This function does not process image pixels.
Error count.