about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other')
-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 {