about summary refs log tree commit diff
path: root/converter/other/pngtopam.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-12-14 03:30:22 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-12-14 03:30:22 +0000
commitcf43f2f3b9aaeaf9f3e3e04b2e7127fb10c3bc90 (patch)
tree04cb14aed5fb518d1c5e82a343fb2df4f5246ca0 /converter/other/pngtopam.c
parente25552d8ec73ac0d19ea5c3c4cad34928f952de8 (diff)
downloadnetpbm-mirror-cf43f2f3b9aaeaf9f3e3e04b2e7127fb10c3bc90.tar.gz
netpbm-mirror-cf43f2f3b9aaeaf9f3e3e04b2e7127fb10c3bc90.tar.xz
netpbm-mirror-cf43f2f3b9aaeaf9f3e3e04b2e7127fb10c3bc90.zip
Release 10.60.05
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@1809 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pngtopam.c')
-rw-r--r--converter/other/pngtopam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/pngtopam.c b/converter/other/pngtopam.c
index 160ad667..d748c327 100644
--- a/converter/other/pngtopam.c
+++ b/converter/other/pngtopam.c
@@ -1131,7 +1131,7 @@ determineOutputType(struct pngx *       const pngxP,
                 *depthP = 4;
                 strcpy(tupleType, "RGB_ALPHA");
             } else {
-                *depthP = 1;
+                *depthP = 2;
                 strcpy(tupleType, "GRAYSCALE_ALPHA");
             }
         } else {