HC_Show_Partial_Image

void HC_Show_Partial_Image(Key key, int xpos, int ypos, int xlen, int ylen, void *data)
void HC_Show_Partial_Image(Key key, int xpos, int ypos, int xlen, int ylen, void data)

Returns a user-specified rectangular array of pixel data, as referenced by a key.

param xlen The count of columns and rows of pixels to be returned, going to the right and up. The counts, together with the offsets, represent a rectangular region within the original image. param data The pixel values currently stored in the image referenced by key, encoded according to format. Returned to caller. Passed by reference always.

HC_Show_Image()

Parameters

key: Unique numeric identifier pointing to an image in the database.

xpos: Offset, in pixels, from the upper-left corner of the original image, at which to return data. The upper-left- most original pixel is numbered (0, 0); values increase going right and going down.

ypos: