ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_IMAGE > IG_PDE_image_get_data_stream

Gets a data stream for an image.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_image_get_data_stream (
        HIG_PDE_IMAGE hImage,
        LONG nFlags,
        LPHIG_PDF_STREAM lphStream 


Name Type Description
hImage HIG_PDE_IMAGE Image whose data stream is obtained.
nFlags LONG enumIGPDEImageDataFlags flags. If the AT_PDE_IMAGE_ENCODED_DATA flag is set, data is returned in encoded form. Otherwise, data is decoded.
lphStream LPHIG_PDF_STREAM Stream for hImage.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.


May only be called for XObject images.

The caller must dispose of the returned stream by calling IG_PDF_stream_close.

Is this page helpful?
Yes No
Thanks for your feedback.