diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-06-28 03:24:45 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-06-28 03:24:45 +0000 |
commit | d096e37fad06341329e32ef8ef372a9d1041c29f (patch) | |
tree | 3af80037355778dce72b19079e6160ad4b42393b | |
parent | cb5a309dc093164c77528b109c4b797c256b0d15 (diff) | |
download | netpbm-mirror-d096e37fad06341329e32ef8ef372a9d1041c29f.tar.gz netpbm-mirror-d096e37fad06341329e32ef8ef372a9d1041c29f.tar.xz netpbm-mirror-d096e37fad06341329e32ef8ef372a9d1041c29f.zip |
fix comments
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2571 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | converter/other/pamtopng.c | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/converter/other/pamtopng.c b/converter/other/pamtopng.c index d936d5e1..187bb284 100644 --- a/converter/other/pamtopng.c +++ b/converter/other/pamtopng.c @@ -18,19 +18,24 @@ */ /* -** This NetPBM program pamtopng was in 2015 derived from the NetPBM program -** pnmtopng. This was a nearly complete rewrite with the following goals: -** -** 1) Add support for a PNG alpha channel from a PAM (format P7) file. -** 2) Cleanup of the 20 year old pnmtopng code base. Because of the many -** contributors over the years, the code had become rather convoluted. -** This program is roughly 1/3 the size of pnmtopng.c that it replaces. -** 3) In 1995 bandwith was limited and therefore filesize had to be kept -** small. The original program tried to optimize for that by applying -** many "clever tricks". Today that isn't an issue anymore, so gone -** are filters, palettes, etc. Also, image conversions were removed, -** because those should be done with other NetPBM tools. -** 4) Add support for iTXt (international language) chunks. + This Netpbm program pamtopng was derived in 2015 from the Netpbm program + Pnmtopng. This was a nearly complete rewrite with the following goals: + + - Add ability to create a PNG alpha channel from the alpha channel in a + PAM (format P7) file. + + - Simplify the 20 year old pnmtopng code. Because of the many, many features + that program implements and its need for backward compatibility, the code + had become rather complex. This program is roughly 1/3 the size of + pnmtopng.c that it replaces. + + - In 1995 bandwith was limited and therefore filesize had to be kept + small. The original program tried to optimize for that by applying + many "clever tricks". Today that isn't an issue anymore, so gone + are filters, palettes, etc. Also, image conversions were removed, + because those should be done with other NetPBM tools. + + - Add support for iTXt (international language) chunks. */ |