EnglishFrenchSpanish

OnWorks favicon

g.pnmcompgrass - Online in the Cloud

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

This is the command g.pnmcompgrass 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


g.pnmcomp - Overlays multiple PPM image files.

KEYWORDS


general, display

SYNOPSIS


g.pnmcomp
g.pnmcomp --help
g.pnmcomp input=name[,name,...] [mask=name[,name,...]] [opacity=float[,float,...]]
output=name [output_mask=name] width=integer height=integer [bgcolor=name]
[--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:
--overwrite
Allow output files to overwrite existing files

--help
Print usage summary

--verbose
Verbose module output

--quiet
Quiet module output

--ui
Force launching GUI dialog

Parameters:
input=name[,name,...] [required]
Name of input file(s)

mask=name[,name,...]
Name of input mask file(s)

opacity=float[,float,...]
Layer opacities

output=name [required]
Name for output file

output_mask=name
Name for output mask file

width=integer [required]
Image width

height=integer [required]
Image height

bgcolor=name
Background color
Either a standard color name or R:G:B triplet

DESCRIPTION


g.pnmcomp isn’t meant for end users. It’s an internal tool for use by wxGUI.

In essence, g.pnmcomp generates a PPM image by overlaying a series of PPM/PGM pairs (PPM =
RGB image, PGM = alpha channel).

NOTES


The intention is that d.* modules will emit PPM/PGM pairs (by way of the PNG-driver code
being integrated into Display Library). The GUI will manage a set of layers; each layer
consists of the data necessary to generate a PPM/PGM pair. Whenever the layer "stack"
changes (by adding, removing, hiding, showing or re-ordering layers), the GUI will render
any layers for which it doesn’t already have the PPM/PGM pair, then re-run g.pnmcomp to
generate the final image (just redoing the composition is a lot faster than redrawing
everything).

A C/C++ GUI would either have g.pnmcomp’s functionality (image composition) built-in, or
would use the system’s graphics API to perform composition (for translucent layers, you
would need OpenGL or the Render extension, or something else which supports translucent
rendering).

Tk doesn’t support transparent (masked) true-colour images (it does support transparent
GIFs, but that’s limited to 256 colours), and an image composition routine in Tcl would be
unacceptably slow, hence the existence of g.pnmcomp.

Use g.pnmcompgrass online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Programming Without Coding Technology
Programming Without Coding Technology
PWCT is not a Wizard for creating your
application in 1 2 3 steps. PWCT is a
general-purpose visual programming
language designed for novice and expert
program...
Download Programming Without Coding Technology
  • 3
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • 4
    Windows Directory Statistics
    Windows Directory Statistics
    WinDirStat (Windows Directory
    Statistics) is a disk usage statistics
    viewer and cleanup tool for Windows. On
    start up, WinDirStat reads the whole
    directory tree...
    Download Windows Directory Statistics
  • 5
    DS4Windows
    DS4Windows
    DS4Window is an open-source program
    that will allow someone to get the
    experience of using a Playstation 4
    DualShock Controller on a PC by
    emulating a Xbox 360...
    Download DS4Windows
  • 6
    TDM-GCC MinGW Compiler
    TDM-GCC MinGW Compiler
    The most recent stable releases from the
    GCC compiler project, for 32-bit and
    64-bit Windows, cleverly disguised with
    a real installer & updater.
    Features:G...
    Download TDM-GCC MinGW Compiler
  • da...
    Download GeoServer
  • More »
  • Linux commands

    Ad