Main Page Modules File List
rgb2hls.c File Reference
converts a ppm color file to hls representation
More...
Detailed Description
converts a ppm color file to hls representation
Usage: in.ppm h.pgm l.pgm s.pgm
Description: Constructs 3 pgm from 1 ppm file:
- h.pgm : Hue (long int - 0 to 359)
- h.pgm : Luminance (byte)
- h.pgm : Saturation (byte) Based on Foley, Van Damm & al: "Computer Graphics", 2nd ed., p. 595
Types supported: byte 2d
Category: convert
- Author:
-
Michel Couprie
Generated on Fri Dec 17 11:59:38 2004 for Pink by
1.2.18