aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorJohn Hawthorn <jhawthor@uvic.ca>2009-07-24 22:11:50 -0700
committerJohn Hawthorn <jhawthor@uvic.ca>2009-07-24 22:11:50 -0700
commit61781aecb368bdf5f28c7e0a46879ab6e4b31ae0 (patch)
treeb13766ec1ae6d10267adc682fe66ddddded1c06c /src/main.c
parent5a10961e935c152cbbd12df6adf9e5b6ec426248 (diff)
downloadmirror-meh-61781aecb368bdf5f28c7e0a46879ab6e4b31ae0.tar.gz
mirror-meh-61781aecb368bdf5f28c7e0a46879ab6e4b31ae0.tar.bz2
mirror-meh-61781aecb368bdf5f28c7e0a46879ab6e4b31ae0.zip
support for netpbm color and bw binary format (P4 and P6)
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index cddb436..3a669c6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -26,10 +26,12 @@ extern struct imageformat libjpeg;
extern struct imageformat giflib;
extern struct imageformat libpng;
extern struct imageformat bmp;
+extern struct imageformat netpbm;
struct imageformat *formats[] = {
&libjpeg,
&bmp,
&libpng,
+ &netpbm,
&giflib, /* HACK! make gif last (uses read()) */
NULL
};