| synopsis || return value || arguments || prev || next |
virtual bool seek_to_frame( int frame_idx)
Java: boolean Seek_to_frame( int frame_idx)
[Declared in "../apps/compressed_io/mj2.h"]
Call this function to set the index (starts from 0) of the frame to be opened by the next call to open_image. The function should behave correctly even if an image is already open. You may use get_num_frames to determine the number of frames which are available. If the video is interlaced and the field mode (see set_field_mode) is 2, the next call to open_image will open the first field of the indicated frame.
False if the frame does not exist.
| top || synopsis || return value || arguments || prev || next |