virtual void open_image( )
Java: void Open_image( )
[Declared in "../apps/compressed_io/kdu_video_io.h"]
Call this function to initiate the generation of a new image for the video sequence. At the most basic level, video is considered to be a sequence of images. In the case of interlaced video, a frame/field structure may be imposed where each frame consists of two fields and each field is considered a separate image. However, some compressed video targets might not support interlaced video.
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.