about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2009-12-09 16:25:43 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2009-12-09 16:25:43 +0000
commit23f04fab4fed873507b42a3d9847fcaf0c730556 (patch)
treef72a36f243da0ca92827c52a7f5d709e45c1a9ab
parent89d1b9d169de61eb2f3485a83ab415f424bccbf3 (diff)
downloadnetpbm-mirror-23f04fab4fed873507b42a3d9847fcaf0c730556.tar.gz
netpbm-mirror-23f04fab4fed873507b42a3d9847fcaf0c730556.tar.xz
netpbm-mirror-23f04fab4fed873507b42a3d9847fcaf0c730556.zip
add comments
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1041 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--converter/other/pnmtopng.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/converter/other/pnmtopng.c b/converter/other/pnmtopng.c
index 9f4b1e2e..200cca44 100644
--- a/converter/other/pnmtopng.c
+++ b/converter/other/pnmtopng.c
@@ -1927,6 +1927,10 @@ computeColorMap(FILE *         const ifP,
   palette_pnm[] and trans_pnm[], allocated by Caller, with sizes
   *paletteSizeP and *transSizeP.
 
+  'pfP' is a handle to the file that the user requested be used for the
+  palette (it's a Netpbm image whose colors are the colors of the palette).
+  'pfP' is null if the user did not request a particular palette.
+
   'background' means the image is to have a background color, and that
   color is 'backcolor'.  'backcolor' is meaningless when 'background'
   is false.