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

  • 1
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 2
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 3
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 4
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 5
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 6
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpio
    cpio
    cpio - copy files to and from archives ...
    Run cpio
  • 4
    cpipe
    cpipe
    cpipe - copy stdin to stdout while
    counting bytes and reporting progress ...
    Run cpipe
  • 5
    FvwmSave
    FvwmSave
    FvwmSave - the Fvwm desktop-layout
    saving module ...
    Run FvwmSave
  • 6
    FvwmSave1
    FvwmSave1
    FvwmSave - the FVWM desktop-layout
    saving module ...
    Run FvwmSave1
  • More »

Ad