Several code fragments for the Radiance format are available:
COLOR.C contains C-language routines for color calculations.
COLOR.H is a C-language header for routines using pixel color values.
COLROPS.C is C-language code that performs integer operations on COLR scanlines.
RA_PPM.C is a program to convert between Radiance and Poskanzer pixmaps.
RA_SKEL.C is a skeleton program to convert 24-bit images.
HEADER.C contains C-language routines for reading and writing information headers.
RESOLU.C contains C-language code to read and write image resolutions.
RESOLU.H contains C-language definitions for the resolution line in an image file.
Copyright © 1996 O'Reilly & Associates, Inc. All Rights Reserved.