ImageGear for C and C++ on Windows v19.10 - Updated
IG_PDE_image_set_data_stream
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_IMAGE > IG_PDE_image_set_data_stream

Sets a data stream for an image; can only be used for XObject images.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_image_set_data_stream (
        HIG_PDE_IMAGE hImage,
        LONG nFlags,
        LPAT_PDE_FILTERARRAY lpFilters,
        HIG_PDF_STREAM hDataStream 
);

Arguments:

Name Type Description
hImage HIG_PDE_IMAGE Image whose data stream is set.
nFlags LONG enumIGPDEImageDataFlags flags. If the AT_PDE_IMAGE_ENCODED_DATA flag is set, the stream must be encoded.
lpFilters LPAT_PDE_FILTERARRAY Pointer to AT_PDE_FILTERARRAY structure. If not NULL, is used to build the objects for the Filter, DecodeParms, and EncodeParms objects. EncodeParms is set to DecodeParms if it exists.
hDataStream HIG_PDF_STREAM Stream for the image data.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.