| synopsis || arguments || prev || next |
void open( const char * fname, kdu_uint32 & flags)
Java: void Open( String fname, long[] flags)
[Declared in "../apps/compressed_io/kdu_video_io.h"]
Closes any currently open file and attempts to open a new one, generating an appropriate error (through kdu_error) if the indicated file cannot be opened. Sets flags to the value of the flags word recovered from the file. Currently, only two flags are defined, KDU_SIMPLE_VIDEO_YCC and KDU_SIMPLE_VIDEO_RGB. If neither is present, the first image component is interpreted as a monochrome image for each video frame.