Radiance Code Fragments

Several code fragments for the Radiance format are available:

color.c

COLOR.C contains C-language routines for color calculations.

color.h

COLOR.H is a C-language header for routines using pixel color values.

colrops.c

COLROPS.C is C-language code that performs integer operations on COLR scanlines.

ra_ppm.c

RA_PPM.C is a program to convert between Radiance and Poskanzer pixmaps.

ra_skel.c

RA_SKEL.C is a skeleton program to convert 24-bit images.

header.c

HEADER.C contains C-language routines for reading and writing information headers.

resolu.c

RESOLU.C contains C-language code to read and write image resolutions.

resolu.h

RESOLU.H contains C-language definitions for the resolution line in an image file.


Copyright © 1996 O'Reilly & Associates, Inc. All Rights Reserved.