| pimtext | noao.imred.vtel | pimtext |
pimtext -- Put image text. Use pixel font to write text into image.
pimtext iraf_files
Pimtext writes either the date and/or time or the indicated text string into the image or images specified. Pimtext, by default, writes the date and/or time into the image in the lower left corner. If it cannot find the date or time pimtext will give a warning and read a text string from the users terminal. If the date and time flags are set to no, pimtext will take the text string to be written from the user. The position of the text may be adjusted by setting the parameters x and y which set the lower left pixel of the text block. The pixels in the text block behind the characters may be set to a particular value when the setbgnd flag is set. The pixel values used to write the text and the background can be set by adjusting the parameters val and bgndval. If the text overlaps the image edge in the X direction it will be truncated. If it overlaps in Y it will not be written. The user may magnify the text by adjusting the "xmag" and "ymag" parameters. The default (2,2) is a nice size for display in a 512 by 512 image. Bigger images may need bigger text, smaller images may need smaller text. The "ref" flag is used to write information from one image into another image.
1. To write the date and time into the three images s13_1709_001, v13_1709_001, and b13_1709_001 (assuming the directory contains only these three images) the command would be:
vt> pimtext ?13*
2. To write the text string "hello world" into the image testim the command would be
vt> pimtext testim 'hello world' date=no time=no
3. To write the date and time into the images s1, s2, s3, s4 and position the text at pixel 30,30, and turn off the text background fill, the command would be:
vt> pimtext s* x=30 y=30 setbgnd=no