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/mgrtopbm.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/mgrtopbm.c')
-rw-r--r-- | converter/pbm/mgrtopbm.c | 45 |
1 files changed, 28 insertions, 17 deletions
diff --git a/converter/pbm/mgrtopbm.c b/converter/pbm/mgrtopbm.c index 79b918fb..9f7004a1 100644 --- a/converter/pbm/mgrtopbm.c +++ b/converter/pbm/mgrtopbm.c @@ -1,22 +1,10 @@ /* mgrtopbm.c - read a MGR bitmap and produce a PBM image. -** -** 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 getc() to fread(), - write function from pbm_writepbmrow() to pbm_writepbmrow_packed(). - Retired bitwise transformation functions. - - NOT tested for old-style format files. Only one zz file in mgrsrc-0.69 . - + Copyright information is at end of file. + + You can find MGR and some MGR format test images at + ftp://sunsite.unc.edu/pub/Linux/apps/MGR/!INDEX.html + */ #include <string.h> @@ -133,3 +121,26 @@ main(int argc, pm_close(stdout); return 0; } + + + +/* 2006.10 (afu) + Changed bitrow from plain to raw, read function from getc() to fread(), + write function from pbm_writepbmrow() to pbm_writepbmrow_packed(). + Retired bitwise transformation functions. + + NOT tested for old-style format files. Only one zz file in mgrsrc-0.69 . + +*/ + + +/* +** 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. +*/ |