Skip to content

g.cairocomp

Overlays multiple X Pixmaps.

g.cairocomp [-d] input=name [,name,...] output=name [visual=integer] [screen=integer] [opacity=float [,float,...]] width=integer height=integer [bgcolor=name] [--overwrite] [--verbose] [--quiet] [--qq] [--ui]

Example:

g.cairocomp input=name output=name width=integer height=integer

grass.script.run_command("g.cairocomp", input, output, visual=None, screen=None, opacity=None, width, height, bgcolor=None, flags=None, overwrite=False, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("g.cairocomp", input="name", output="name", width=integer, height=integer)

Parameters

input=name [,name,...] [required]
    Name of input file(s)
output=name [required]
    Name for output file
visual=integer
    Output Visual XID
screen=integer
    Output screen
opacity=float [,float,...]
    Layer opacities
width=integer [required]
    Image width
height=integer [required]
    Image height
bgcolor=name
    Background color (R:G:B:A)
    Either a standard color name or R:G:B triplet
-d
    Do not composite; just delete input Pixmaps
--overwrite
    Allow output files to overwrite existing files
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

input : str | list[str], required
    Name of input file(s)
    Used as: input, file, name
output : str, required
    Name for output file
    Used as: output, file, name
visual : int, optional
    Output Visual XID
screen : int, optional
    Output screen
opacity : float | list[float] | str, optional
    Layer opacities
width : int, required
    Image width
height : int, required
    Image height
bgcolor : str, optional
    Background color (R:G:B:A)
    Either a standard color name or R:G:B triplet
    Used as: input, color, name
flags : str, optional
    Allowed values: d
    d
        Do not composite; just delete input Pixmaps
overwrite: bool, optional
    Allow output files to overwrite existing files
    Default: False
verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

g.cairocomp isn't meant for end users.

g.cairocomp is similar to g.pnmcomp, except that it works with X Pixmaps instead of PNM files.

SEE ALSO

g.pnmcomp

AUTHOR

Glynn Clements

SOURCE CODE

Available at: g.cairocomp source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit a82a39f