blob: cbdb2031b52a7d9cb46920144e14fa406b0dda4c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef PALMCOLORMAP_H_INCLUDED
#define PALMCOLORMAP_H_INCLUDED
#include <stdio.h>
#include "ppm.h"
#include "palm.h"
ColormapEntry
palmcolor_mapEntryColorFmPixel(pixel const color,
pixval const maxval,
pixval const newMaxval);
Colormap *
palmcolor_build_custom_8bit_colormap(pixel ** const pixels,
unsigned int const rows,
unsigned int const cols,
pixval const maxval);
Colormap *
palmcolor_build_default_8bit_colormap(void);
Colormap *
palmcolor_read_colormap (FILE * const ifP);
#endif
|