FormatCorePlugin_ReadImageTile

Definition

Read specified tile into given buffer.

int32_t FormatCorePlugin_ReadImageTile(

  FC_ImageHandle handle,

  byte_t **buffer,

  uint32_t x,

  uint32_t y,

  uint32_t plane

);

Arguments

[IN]handle

Handle to a reader instance that previously opened an image.

[OUT]buffer

Array of rows to be filled in.

[IN]x

Tile column.

[IN]y

Tile row.

[IN]plane

Image plane to use. For BSQ images this is the band index.

Return Value

FORMATCORE_SUCCESS or FORMATCORE_FAILURE.

Remarks

Reads a single image tile. Top left is 0,0.