The MPEG_PUT procedure stores the specified image array at the specified frame index in an MPEG sequence.
This routine is written in the IDL language. Its source code can be found in the file mpeg_put.pro in the lib subdirectory of the IDL distribution.
MPEG_PUT, mpegID [, /COLOR] [, FRAME=frame_number] [, IMAGE=array | , WINDOW=index] [, /ORDER]
The unique identifier of the MPEG sequence into which the image will be inserted. (MPEG sequence identifiers are returned by the MPEG_OPEN routine.)
Set this keyword to read off an 8-bit display and pass the information through the current color table to create a 24-bit image.
Set this keyword equal to an integer specifying the frame at which the image is to be loaded. If the frame number matches a previously loaded frame, the previous frame is overwritten. The default is 0.
Set this keyword equal to an m x n image array or a 3 x m x n True Color image array representing the image to be loaded at the specified frame. This keyword is ignored if the WINDOW keyword is specified.
Set this keyword to indicate that the rows of the image should be drawn from top to bottom. By default, the rows are drawn from bottom to top.
Set this keyword to the index of a Direct Graphics Window (or to an object reference to an IDLgrWindow or IDLgrBuffer object) to indicate that the image to be loaded is to be read from the given window or buffer. If this keyword is specified, it overrides the value of the IMAGE keyword.
See MPEG_OPEN for an example using this routine.
Introduced: 5.1
MPEG_CLOSE, MPEG_OPEN, MPEG_SAVE, XINTERANIMATE