From 7f5a12073d3a2b4b649f9ad6f7ef26998b9e8034 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Fri, 14 Dec 2012 03:27:48 +0000 Subject: Fix bug: wrong depth for GRAYSCALE_ALPHA output git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1808 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/other/pngtopam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'converter/other') 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 { -- cgit 1.4.1