ImageGear Professional DLL v18.1 for Windows
IG_PDE_image_set_decode_array
Send Feedback
ImageGear Professional v18.1 > 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:

Name Type Description
hImage HIG_PDE_IMAGE Image whose decode array is set.
lpDecode LPAT_PDF_FIXED Pointer to the decode array.
nDecodeSize LONG 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.

©2014. Accusoft Corporation. All Rights Reserved.