---
name: "g.ppmtopng"
section: "1grass"
platform: "linux"
package: "grass-doc"
version: "8.4.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/g.ppmtopng"
---

# g.ppmtopng(1grass)

Converts between PPM/PGM and PNG image formats.

## NAME

**g.ppmtopng**  - Converts between PPM/PGM and PNG image formats.

## KEYWORDS

general, display

## SYNOPSIS

**g.ppmtopng**\
 **g.ppmtopng --help**\
 **g.ppmtopng** **input**=*name* **output**=*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* **\[required\]**

  Name of input file

- **output**=*name* **\[required\]**

  Name for output file

## DESCRIPTION

*g.ppmtopng* isn’t meant for end users. It’s a utility to convert between PPM/PGM and PNG image formats.

## AUTHOR

Glynn Clements

## SOURCE CODE

Available at: g.ppmtopng source code (history)

Accessed: Monday Feb 24 17:50:29 2025

Main index \| General index \| Topics index \| Keywords index \| Graphical index \| Full index

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
