Pink 0.9

ppm2pgm.c File Reference

converts a color ppm image into 3 grayscale pgm images More...


Detailed Description

converts a color ppm image into 3 grayscale pgm images

Usage: ppm2pgm in.ppm r.pgm g.pgm b.pgm

Description: Converts a color ppm image in.ppm into 3 grayscale pgm images r.pgm, g.pgm and b.pgm which are the red, green and blue color planes of the original color image.

Types supported: byte color 2d

Category: convert

Author:
Michel Couprie