diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-11-08 18:46:11 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-11-08 18:46:11 +0000 |
commit | 03890c65333369af7b53beb62ac1e025f253ca6c (patch) | |
tree | fd55534763786ed2454f48efbd9e846abca729ca /converter/pbm/pbmtomgr.c | |
parent | 03c430017d34f0b4f96b7764326db0cbcc5f7357 (diff) | |
download | netpbm-mirror-03890c65333369af7b53beb62ac1e025f253ca6c.tar.gz netpbm-mirror-03890c65333369af7b53beb62ac1e025f253ca6c.tar.xz netpbm-mirror-03890c65333369af7b53beb62ac1e025f253ca6c.zip |
Add some information about MGR format
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@115 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/pbm/pbmtomgr.c')
-rw-r--r-- | converter/pbm/pbmtomgr.c | 41 |
1 files changed, 25 insertions, 16 deletions
diff --git a/converter/pbm/pbmtomgr.c b/converter/pbm/pbmtomgr.c index 56c4fdd6..2ca7c7d0 100644 --- a/converter/pbm/pbmtomgr.c +++ b/converter/pbm/pbmtomgr.c @@ -1,22 +1,9 @@ /* pbmtomgr.c - read a PBM image and produce a MGR bitmap -** -** Copyright (C) 1989 by Jef Poskanzer. -** -** Permission to use, copy, modify, and distribute this software and its -** documentation for any purpose and without fee is hereby granted, provided -** that the above copyright notice appear in all copies and that both that -** copyright notice and this permission notice appear in supporting -** documentation. This software is provided "as is" without express or -** implied warranty. -*/ -/* 2006.10 (afu) - Changed bitrow from plain to raw, read function from pbm_readpbmrow() to - pbm_readpbmrow_packed(), write function from putc() to fwrite(). + Copyright information is at end of file. - Retired bitwise transformation functions. - - Produces only new style bitmap (8 bit padding.) See mgrtopbm.c . + You can find MGR and some MGR format test images at + ftp://sunsite.unc.edu/pub/Linux/apps/MGR/!INDEX.html */ #include "pbm.h" @@ -103,3 +90,25 @@ main(int argc, pm_close(ifP); return 0; } + + + +/* 2006.10 (afu) + Changed bitrow from plain to raw, read function from pbm_readpbmrow() to + pbm_readpbmrow_packed(), write function from putc() to fwrite(). + + Retired bitwise transformation functions. + + Produces only new style bitmap (8 bit padding.) See mgrtopbm.c . +*/ + +/* +** Copyright (C) 1989 by Jef Poskanzer. +** +** Permission to use, copy, modify, and distribute this software and its +** documentation for any purpose and without fee is hereby granted, provided +** that the above copyright notice appear in all copies and that both that +** copyright notice and this permission notice appear in supporting +** documentation. This software is provided "as is" without express or +** implied warranty. +*/ |