GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RLETOABA62(1) FreeBSD General Commands Manual RLETOABA62(1)

rletoabA62 - Convert from RLE Format to Abekas A62 Dump Format

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

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 subsequent loading onto the Abekas disk. The generated image is 768 pixels 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 vector scope diagram.

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 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 modulo four. The default is one.
-n n
Write n frames of output, incrementing the frame number each time. The default is two.

urt(1), RLE(5).

Bob Brown, RIACS.

This program does not preserve the aspect ratio of the input.
6 February 1988 1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.