EnglishFrenchSpanish

OnWorks favicon

pnmmontage - Online in the Cloud

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

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


pnmmontage - create a montage of portable anymaps

SYNOPSIS


pnmmontage [-?|-help] [-header=headerfile] [-quality=n] [-prefix=prefix] [-0|-1|-2|...|-9]
pnmfile...

DESCRIPTION


Packs images of differing sizes into a minimum-area composite image, optionally producing
a C header file with the locations of the subimages within the composite image.

OPTIONS


-?, -help
Displays a (very) short usage message.

-header
Tells pnmmontage to write a C header file of the locations of the original images
within the packed image. Each original image generates four #defines within the
packed file: xxxX, xxxY, xxxSZX, and xxxSZY, where xxx is the name of the file,
converted to all uppercase. The #defines OVERALLX and OVERALLY are also produced,
specifying the total size of the montage image.

-prefix
Tells pnmmontage to use the specified prefix on all of the #defines it generates.

-quality
Before attempting to place the subimages, pnmmontage will calculate a minimum
possible area for the montage; this is either the total of the areas of all the
subimages, or the width of the widest subimage times the height of the tallest
subimage, whichever is greater. pnmmontage then initiates a problem-space search
to find the best packing; if it finds a solution that is (at least) as good as the
minimum area times the quality as a percent, it will break out of the search.
Thus, -q 100 will find the best possible solution; however, it may take a very long
time to do so. The default is -q 200.

-0, -1, ... -9
These options control the quality at a higher level than -q; -0 is the worst
quality (literally pick the first solution found), while -9 is the best quality
(perform an exhaustive search of problem space for the absolute best packing). The
higher the number, the slower the computation. The default is -5.

NOTES


Using -9 is excessively slow on all but the smallest image sets. If the anymaps differ in
maxvals, then pnmmontage will pick the smallest maxval which is evenly divisible by each
of the maxvals of the original images.

Use pnmmontage online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 2
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 3
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 4
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 5
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 6
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • More »

Linux commands

Ad