ImageGear for C and C++ on Windows v20.1 - Updated
IG_PDE_image_get_data_stream
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.

Declaration:

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

Arguments:

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.

Remarks:

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.