virtual void open_image( )
Java: void Open_image( )
[Declared in "../apps/compressed_io/mj2.h"]
Call this function to initiate the generation of a new video frame or field. In non-interlaced (progressive) mode, each frame consists of a single image. However, if set_field_order has been used to configure the video track for interlacing, there are two images (fields) per frame.
After calling this function, the present object may be passed into kdu_codestream::create to generate the JPEG2000 code-stream representing the open video image. Once the code-stream has been fully generated (usually performed by kdu_codestream::flush), the image must be closed using close_image. A new video image can then be opened.