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
RLETOPAINT(1) FreeBSD General Commands Manual RLETOPAINT(1)

rletopaint - convert an RLE file to MacPaint format using dithering

rletopaint [ -l ] [ -r ] [ -g [ gamma ] ] [ -o outfile.paint ] [ infile ]

Rletopaint converts a file from RLE(5) format to MacPaint format. The program uses dithering to convert from a full 24 bit color image to a bitmapped image. If the RLE file is larger than a MacPaint image (576×720) it is cropped to fit.

Because MacPaint files have their coordinate origin in the upper left instead of the lower left, the RLE file should be piped through rleflip(1) -v before rletopaint.

The resulting file can be downloaded to a Macintosh in binary mode, and should be given a type of PNTG and a creator of MPNT, so it will be recognized as a MacPaint file.

-l
Use a linear map in the conversion from 24 bits to bitmapped output.
-g [ gamma ]
Use a gamma map of gamma (gamma is 2.0 if not specified).
-r
Invert the sense of the output pixels (white on black instead of black on white). For normal images, you probably want this flag.

painttorle(1), urt(1), RLE(5).

John W. Peterson. Byte compression routine by Jim Schimpf.

Should use a color map in the file, if present.
Month X, YYYY 4th Berkeley Distribution

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.