EnglishFrenchSpanish

OnWorks favicon

rletopnm - Online in the Cloud

Run rletopnm in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command rletopnm that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


rletopnm - convert a Utah Raster Tools RLE image file into a PNM image file.

SYNOPSIS


rletopnm [--alphaout={alpha-filename,-}] [--headerdump|-h] [--verbose|-v] [--plain|-p]
[rlefile|-]

All options may be abbreviated to their minimum unique abbreviation and options and
arguments may be in any order.

DESCRIPTION


This program converts Utah Raster Toolkit RLE image files into PNM image files. rletopnm
handles four types of RLE files: Grayscale (8 bit data, no color map), Pseudocolor (8 bit
data with a color map), Truecolor (24 bit data with color map), and Directcolor (24 bit
data, no color map). rletopnm generates a PPM file for all these cases except for the
Grayscale file, for which rletopnm generates a PGM file.

rlefile is the RLE input file. If it is absent or -, the input comes from Standard Input.

OPTIONS


--alphaout=alpha-filename
rletopnm creates a PGM (portable graymap) file containing the alpha channel values
in the input image. If the input image doesn't contain an alpha channel, the
alpha-filename file contains all zero (transparent) alpha values. If you don't
specify --alphaout, rletopnm does not generate an alpha file, and if the input
image has an alpha channel, rletopnm simply discards it.

If you specify - as the filename, rletopnm writes the alpha output to Standard
Output and discards the image.

See pnmcomp(1) for one way to use the alpha output file.

--verbose
This option causes rletopnm to operate in verbose mode. It prints messages about
what it's doing, including the contents of the RLE image header, to Standard Error.

--headerdump
This option causes rletopnm to operate in header dump mode. It prints the contents
of the RLE image header to Standard Error, but does not produce any other output.

--plain
This option causes the PNM output file to be in the "plain" (text) format, instead
of the default "raw" (binary) format. See ppm(5) and pgm(5) for details on the
difference.

EXAMPLES


rletopnm --verbose lenna.rle >lenna.ppm
While running in verbose mode, convert lenna.rle to PPM format and store the
resulting image as lenna.ppm.

rletopnm --headerdump file.rle
Dump the header information of the RLE file called file.rle.

rletopnm --alphaout=dartalpha.pgm dart.rle >dart.ppm
Convert RLE file dart.rle to PPM format as dart.ppm. Store the alpha channel of
dart.rle as dartalpha.pgm (if dart.rle doesn't have an alpha channel, store a fully
transparent alpha mask as dartalpha.pgm).

Use rletopnm online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

Ad