G.2 Making Title Pages


next up previous contents
Next: G.3 Recording a New Up: G Using the Laser Previous: Viewing Existing Movies

G.2 Making Title Pages

 

The video title pages may be prepared by using an IDL program called VIDEO_TITLE. First, you must prepare an ASCII control file that specifies what the title pages should contain. The IDL routine reads this file and writes the text to a Z-buffer window (using ordinary XYOUTS commands) and then reads it back into an array that can be stored in a *.genx file. The font type and size and placement can be easily adjusted. Some example calls are: IDL> array = video_title(filename)  IDL> array = video_title(filename,/plot) ; Display the resultsIDL> array = video_title(filename,/plot,outfile='video1',/high)IDL> array = video_title(filename,/plot,outfile='video1')The variable specifies the name of an ASCII control file that contains the text of the page. For example try the following: IDL> array = video_title('/ys/gen/doc/howto_video_title.doc',/plot)where /ys/gen/doc/howto_video_title.doc is the name of a ``how to" file which is also an example control file. This file explains the format of the control file. For the first time users, it is recommended to copy that file over and make changes to it to accommodate your needs.

The control file specifies the position on the screen, the text, the size and thickness of the characters. Different fonts can be used also. A portion of that file is shown here:

;  howto_video_title.doc                J. R. Lemen  Rev A,  4-Jan-94
;
;  The control file contains 5 items per line separated by a double
;  slash or "//".   The first and second fields are the positions in
;  the 620 by 480 sized video window (0,0 is the lower left corner).
;  It is advisable not to write too close to any edge, since the
;  text may be lost, depending on the display monitor.  Setting xpos
;  equal to -1 will cause the text to be automatically centered (and
;  leading or trailing blanks will be discarded).  The third field
;  is the text and the fourth and fifth fields are the character
;  size and thickness, respectively.
;
;  The Fonts can be changed using the standard !n IDL vector commands
;  (see the example below).
;
;  This entire document is an example control file (since every line
;  except the important ones below begin with an ";").  Below the
;  dashed line is a specific example.  This file will cause two
;  pages to be generated (because of the NEWPAGE// line).  It is not
;  necessary to have more than one title page per file.
;
; ------------------------------------------------------------------
;  Semicolons are treated as comments
;  Separate fields with //
;  xpos // ypos // Text // size // thickness
;  (size and thickness will default to 1.0 if omitted)
;  (setting xpos to -1 will cause x position to auto-center)
-1//425//X-RAY CORONA OF THE SUN                           //2.8//2.8
-1//375//Images from the Soft X-ray Telescope              //2.1//1.4
-1//345//on the YOHKOH mission                             //2.1//1.4
-1//275//Data from:  November 11 to 27, 1991               //2.1//1.4
-1//220//!8Prepared by:                                    //2.1//1.4
-1//190//J. Lemen, G. Slater, K. Strong, and S. Tsuneta    //1.7//1.7
-1//100//Institute for Astronautical Research, Japan       //1.4/1.4
-1// 75//National Aeronautics and Space Administration, USA//1.4//1.4
-1// 30//(V1.0 13 April 1992)//1.4
NEWPAGE//
-1//300//Data from:  November 11 to 27, 1991               //2.1//1.4
-1//200//!18Displayed 100,000 times real time              //2.1//1.4

The /high switch makes the routine run slow, but gives a higher quality result. It is recommended to debug the output without the /high switch and only use it for the final result.

The switch will cause the title pages to be written to a *.genx file that can be written to the ISAS Sony Laser disk using GO_NVS5. If you want the background color to be blue, make sure that you specify color table 1 in GO_NVS5.


next up previous contents
Next: G.3 Recording a New Up: G Using the Laser Previous: Viewing Existing Movies


ydac@mssly1.mssl.ucl.ac.uk