lvprmap(3)

LIBRARY ROUTINE
lvprmap - vprmap prints to a file or the screen xviff map data in ascii format.

LIBRARY CALL
#include "vinclude.h"
int
lvprmap(image,mflag,input_file,printdev)
struct  xvimage *image;
int     mflag;
char    *input_file;
FILE    *printdev;

INPUT

    An image in xviff,
    A flag, used for specifing the format for printing.
    input_file - file name of the viff image
    printdev _ an File where to write the colormap values

OUTPUT

    The colormaps values are send to the printdev

MODIFICATIONS
Ghosted by Pascal Adam (Mon Jun 18, 1990)
Charlie Gage (Jan. 30, 1991) Fixed problem with map type ONEPERBAND.

DESCRIPTION
vprmap will print all the maps to standard out, standard error or a filename. If more than one map exists then all maps will be printed starting with the first one. Each of the columns in each map will be printed. If -m is set to "no" then the maps are print using the following format:
[0] = xx [1] = xx [2] = xx ...

otherwise only the colormap values are printed:
xx xx xx xx xx xx

The output device or file is specified by printdev, a filename of # will send the output to stderr.

SEE ALSO
vprmap(1), intro(3), vipl(3), verror(3), vutils(3)

RESTRICTIONS
lvprmap will only work on map scheme ONEPERBAND and SHARED.

AUTHOR
Tom Sauer

COPYRIGHT
Copyright 1991, University of New Mexico. All rights reserved.