FormatCorePlugin_GetImageCount

Definition

Get image information.

int32_t FormatCorePlugin_GetImageCount(

  FC_ImageHandle handle

  const char *filename,

  uint32_t *count

);

Arguments

[IN]handlefilename

Handle to reader instance that was previously opened.

Name of file.

[OUT]count

Number of images in file.

Return Value

FORMATCORE_SUCCESS or FORMATCORE_FAILURE.

Remarks

The plugin‘count’ should be set count to the number of images (subdatasets) in the file repersented by handle. This function is called without opening an image using FormatCorePlugin_OpenImage.