FormatCorePlugin_OpenImage
Definition
Open image for reading.
int32_t FormatCorePlugin_OpenImage(
FC_ImageHandle handle,
const char *filename,
uint32_t layer,
uint32_t slice,
const FC_Parameter *parameters,
uint32_t parameterCount,
const FC_ApplicationData *appdata
);
Arguments
[IN]handle
Handle to a reader instance.
[IN]filename
Name of the file to open.
[IN]layer
Index of the image to open ( 0 for first ).
[IN]slice
Slice to open ( always 0 ).
[IN]parameters
Parameters.
[IN]parameterCount
Number of parameters.
[IN]appdata
Application specific data.
FORMATCORE_SUCCESS or FORMATCORE_FAILURE.
Remarks
Open a specified image - ImageServer opens images (subdataset) as opposed to files (dataset). ImageServer use numeric indexes to specify subdatasets.