Sets data for an image.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_image_set_data ( HIG_PDE_IMAGE hImage, LONG nFlags, LPBYTE lpData, LONG nLength ); |
Arguments:
hImage | Image whose data is set. |
nFlags | A set of enumIGPDEImageDataFlags flags. If AT_PDE_IMAGE_ENCODED_DATA is set, the data must be encoded for the current filters, and nLength is the length of the encoded data. If the AT_PDE_IMAGE_ENCODED_DATA flag is not set, data is not encoded and nLength is the size of the decoded data. |
lpData | Image data. |
nLength | Length of data. |
Return Value:
Error count.
Supported Raster Image Formats:
This function does not process image pixels.