Pink 0.9

genimage.c File Reference

generates a monocolor image of given size More...


Detailed Description

generates a monocolor image of given size

Usage: genimage {in.pgm|rs cs ds} col out.pgm

Description: The size of the result image out.pgm is taken from image in.pgm, or given by the parameters rs, cs, ds. For a 2D image, the parameter ds (depth size) is set to 1. The color of the result image is given by the parameter col.

Types supported: byte 2d, byte 3d

Category: arith, geo ,

Author:
Michel Couprie