about summary refs log tree commit diff
path: root/lib/pnm.h
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-02-02 03:40:48 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-02-02 03:40:48 +0000
commite461d0b5bb5d0d1e957d7101f28eabe14f042c53 (patch)
treee1b2505d3cc8287f42ea21173a8efc6a164f644d /lib/pnm.h
parentbf7be45f4e27cb99e4f49628b043fef90b49d5f7 (diff)
downloadnetpbm-mirror-e461d0b5bb5d0d1e957d7101f28eabe14f042c53.tar.gz
netpbm-mirror-e461d0b5bb5d0d1e957d7101f28eabe14f042c53.tar.xz
netpbm-mirror-e461d0b5bb5d0d1e957d7101f28eabe14f042c53.zip
Add PNM_GETR, PNM_GETG, PNM_GETB
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1108 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/pnm.h')
-rw-r--r--lib/pnm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pnm.h b/lib/pnm.h
index e4bd34a8..de5f1d91 100644
--- a/lib/pnm.h
+++ b/lib/pnm.h
@@ -20,6 +20,9 @@ typedef pixval xelval;
 #define PNM_OVERALLMAXVAL PPM_OVERALLMAXVAL
 #define PNM_MAXMAXVAL PPM_MAXMAXVAL
 #define PNM_GET1(x) PPM_GETB(x)
+#define PNM_GETR(x) PPM_GETR(x)
+#define PNM_GETG(x) PPM_GETG(x)
+#define PNM_GETB(x) PPM_GETB(x)
 #define PNM_ASSIGN1(x,v) PPM_ASSIGN(x,0,0,v)
 #define PNM_ASSIGN(x,r,g,b) PPM_ASSIGN(x,r,g,b)
 #define PNM_EQUAL(x,y) PPM_EQUAL(x,y)