---
name: "rgb3toppm"
section: "1"
platform: "linux"
package: "netpbm"
version: "10.86.51-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/rgb3toppm"
---

# rgb3toppm(1)

combine three PGM images (R, G, B) into one PPM image

## NAME

rgb3toppm - combine three PGM images (R, G, B) into one PPM image

## SYNOPSIS

**rgb3toppm** *redpgmfile* *greenpgmfile*  *bluepgmfile*

## DESCRIPTION

This program is part of **Netpbm**(1) .

**rgb3toppm** reads three PGM images as input, taking each to represent one component (red, green, and blue) of a color image.  It produces a PPM image as output.

## OPTIONS

There are no command line options defined specifically for **rgb3toppm**, but it recognizes the options common to all programs based on libnetpbm (See \
  Common Options ⟨index.html#commonoptions⟩ .)

## SEE ALSO

[**ppmtorgb3**(1)](/ppmtorgb3/1.md) ,  [**pamstack**(1)](/pamstack/1.md) ,  [**pgmtoppm**(1)](/pgmtoppm/1.md) ,  [**ppmtopgm**(1)](/ppmtopgm/1.md) ,  **ppm**(1) ,  **pgm**(1)

## AUTHOR

Copyright (C) 1991 by Jef Poskanzer.

## DOCUMENT SOURCE

This manual page was generated by the Netpbm tool 'makeman' from HTML source.  The master documentation is at

-

  **http://netpbm.sourceforge.net/doc/rgb3toppm.html**
