HC_Show_Compressed_Image
-
void
HC_Show_Compressed_Image(Key key, float *x, float *y, float *z, char *format, int *width, int *height, int *size, void *data) - void HC_Show_Compressed_Image(Key key, float x, float y, float z, char format, int width, int height, int size, void data)
Returns the pixel data associated with provided image key. This API should only be used if the underlying image data is in a compressed form.
HC_Show_Compressed_Image, HC_Insert_Compressed_Image, HC_Edit_Image.Parameters
key: Unique numeric identifier pointing to an image in the database.
x: The x coordinate of the center of the image. (Returned to caller).
y: The y coordinate of the center of the image. (Returned to caller).
z: The z coordinate of the center of the image. (Returned to caller).
format: A description of how data in the data array is packed (Returned to caller). See Insert_Image() for details.
width: The number of columns (Returned to caller).
height: The number of rows (Returned to caller).
size: - Size of the image in bytes. Returned to caller.
data: The pixel values currently stored in the image referenced by key, encoded according to format. Returned to caller. Passed by reference always.