EnglishFrenchSpanish

OnWorks favicon

pnmtopalm - Online in the Cloud

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

This is the command pnmtopalm 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


pnmtopalm - convert a portable anymap into a Palm pixmap

SYNOPSIS


pnmtopalm [-verbose] [-depth N] [-maxdepth N] [-colormap] [-transparent color] [-offset]
[-rle-compression|-scanline-compression] [pnmfile]

DESCRIPTION


Reads a PNM image as input, from stdin or pnmfile. Produces a Palm pixmap as output.

Palm pixmap files are either greyscale files 1, 2, or 4 bits wide, or color files 8 bits
wide, so pnmtopalm automatically scales colors to have an appropriate maxval, unless you
specify a depth or max depth. Input files must have an appropriate number and set of
colors for the selected output constraints. This often means that you should run the PNM
image through ppmquant before you pass it to pnmtopalm. Netpbm comes with several
colormap files you can use with ppmquant for this purpose. They are palmgray2.map (4
shades of gray for a depth of 2), palmgray4.map (16 shades of gray for a depth of 4), and
palmcolor8.map (232 colors in default Palm colormap).

OPTIONS


-verbose
Display the format of the output file.

-depth N
Produce a file of depth N, where N must be either 1, 2, 4, 8, or 16. Any depth
greater than 1 will produce a version 1 or 2 bitmap. Because the default Palm
8-bit colormap is not grayscale, if the input is a grayscale or monochrome pixmap,
the output will never be more than 4 bits deep, regardless of the specified depth.
Note that 8-bit color works only in PalmOS 3.5 (and higher), and 16-bit direct
color works only in PalmOS 4.0 (and higher). However, the 16-bit direct color
format is also compatible with the various PalmOS 3.x versions used in the
Handspring Visor, so these images may also work in that device.

-maxdepth N
Produce a file of minimal depth, but in any case less than N bits wide. If you
specify 16-bit, the output will always be 16-bit direct color.

-offset
Fill in the nextDepthOffset field in the file header, to provide for multiple
renditions of the pixmap in the same file.

-colormap
Build a custom colormap and include it in the output file. This is not recommended
by Palm, for efficiency reasons. Otherwise, pnmtopalm uses the default Palm
colormap for color output.

-transparent color
Marks one particular color as fully transparent. The format to specify the color
is either (when for example orange) "1.0,0.5,0.0", where the values are floats
between zero and one, or with the syntax "#RGB", "#RRGGBB" or "#RRRRGGGGBBBB" where
R, G and B are hexadecimal numbers. This also makes the output bitmap a version 2
bitmap. Transparency works only on Palm OS 3.5 and higher.

-rle-compression
Specifies that the output Palm bitmap will use the Palm RLE compression scheme, and
will be a version 2 bitmap. RLE compression works only with Palm OS 3.5 and
higher.

-scanline-compression
Specifies that the output Palm bitmap will use the Palm scanline compression
scheme, and will be a version 2 bitmap. Scanline compression works only in Palm OS
2.0 and higher.

Use pnmtopalm 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