about summary refs log tree commit diff
path: root/converter/other/pnmtopalm
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-09-23 15:13:30 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-09-23 15:13:30 +0000
commit1d601de53c18871696a52c8bbe8d7492b69743a2 (patch)
tree336ca1489bd697166afec1c97da0ea25217f3236 /converter/other/pnmtopalm
parente441cad79038c88d41057f3446af5921433e2d8b (diff)
downloadnetpbm-mirror-1d601de53c18871696a52c8bbe8d7492b69743a2.tar.gz
netpbm-mirror-1d601de53c18871696a52c8bbe8d7492b69743a2.tar.xz
netpbm-mirror-1d601de53c18871696a52c8bbe8d7492b69743a2.zip
Add missing file from previous commit
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3070 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pnmtopalm')
-rw-r--r--converter/other/pnmtopalm/palmcolormap.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/converter/other/pnmtopalm/palmcolormap.h b/converter/other/pnmtopalm/palmcolormap.h
new file mode 100644
index 00000000..12aae588
--- /dev/null
+++ b/converter/other/pnmtopalm/palmcolormap.h
@@ -0,0 +1,19 @@
+#ifndef PALMCOLORMAP_H_INCLUDED
+#define PALMCOLORMAP_H_INCLUDED
+
+#include <stdio.h>
+#include "ppm.h"
+#include "palm.h"
+
+Colormap *
+palmcolor_build_custom_8bit_colormap(unsigned int const rows,
+                                     unsigned int const cols,
+                                     pixel **     const pixels);
+
+Colormap *
+palmcolor_build_default_8bit_colormap(void);
+
+Colormap *
+palmcolor_read_colormap (FILE * const ifP);
+
+#endif