ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDE_image_is_data_encoded
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_is_data_encoded

Glossary Item Box

Determines if image data is encoded or not. Used only for inline images; not relevant to XObject images.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_image_is_data_encoded(
        HIG_PDE_IMAGE hImage,
        LPAT_PDF_BOOL lpbIsEncoded,
        LPDWORD lpnEncodedLen );

Arguments:

hImage Image to examine.
lpbIsEncoded TRUE if IG_PDE_image_get_data returns encoded data; FALSE otherwise. Returns FALSE for XObject images.
lpnEncodedLen Length of the encoded data-if the data is encoded, that is, if lpbIsEncoded returns TRUE.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

lpbIsEncoded always returns FALSE for XObject images; XObject image data can be obtained from IG_PDE_image_get_data or IG_PDE_image_get_data_stream, either encoded or decoded.

Only if IG_PDE_image_create is used to explicitly create a new image using encoded data does lpbIsEncoded returns TRUE.

©2012. Accusoft Corporation. All Rights Reserved.