rletoabA62 man page on Tru64

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
Tru64 logo
[printable version]

RLETOABA62(1)							 RLETOABA62(1)

NAME
       rletoabA62 - Convert from RLE Format to Abekas A62 Dump Format

SYNOPSIS
       rletoabA62 [ -N ] [ -f n ] [ -n n ] [ infile ]

DESCRIPTION
       RletoabA62 converts a raster file in the Utah Raster Toolkit RLE format
       into a format suitable for writing to an Abekas A62 dump tape and  sub‐
       sequent	loading onto the Abekas disk.  The generated image is 768 pix‐
       els wide and 512 pixels high.  If the input is larger, it is truncated.
       If  it  is  smaller, it is padded on the top and right with black.  The
       output is written to stdout, and should be written to  a	 tape  in  24K
       byte blocks with dd as in the following:

	    dd of=/dev/rmt8 obs=24k

       Normally,  the  output  is processed with a simple digital filter; this
       feature may be turned off with an option.  RletoabA62  normally	writes
       two consecutive frames, normally starting at frame 1.

       Input  is  taken	 from stdin unless a file name is given on the command
       line.  Only a single file may be given, and so if multiple  invocations
       of rletoabA62 are performed in a script, care must be taken to tell the
       program to convert the data for the proper Abekas frame	number	(1-4).
       Otherwise, the colors will appear wrong; they will be rotated on a vec‐
       tor scope diagram.

EXAMPLE
       The following example converts all files ending in .rle in the  current
       directory  and writes them to a tape.  Two frames are written per image
       and the frame number is incremented accordingly.

		 frame=1
		 number=2
		 for file in *.rle
		 do
		      rletoabA62 -f $frame $file
		      frame=`expr \( \( $frame - 1 \) + $number \) % 4 + 1`
		 done |
		 dd of=/dev/rmt8 obs=24k

OPTIONS
       Options are parsed by getopt(3).

       -N     Do not apply digital filtering.

       -f n   Create the first frame as Abekas frame number n, having a	 value
	      from one to four.	 Consecutive frames increment this number mod‐
	      ulo four.	 The default is one.

       -n n   Write n frames of output, incrementing  the  frame  number  each
	      time.  The default is two.

SEE ALSO
       urt(1), RLE(5).

AUTHOR
       Bob Brown, RIACS.

BUGS
       This program does not preserve the aspect ratio of the input.

1				6 February 1988			 RLETOABA62(1)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net