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

Glossary Item Box

Sets the decode array of an image.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_image_set_decode_array (
        HIG_PDE_IMAGE hImage,
        LPAT_PDF_FIXED lpDecode, 
        LONG nDecodeSize );

Arguments:

hImage Image whose decode array is set.
lpDecode Pointer to the decode array.
nDecodeSize Size of decode array in bytes.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Normally, the decode array is accessed through the decode field in the AT_PDE_IMAGEATTRS structure. However, this function defines a decode array to handle images with a color space that has more than 4 components.

©2012. Accusoft Corporation. All Rights Reserved.