about summary refs log tree commit diff
path: root/converter/other/pngtopam.c
diff options
context:
space:
mode:
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 ee46ca0e..89ac100a 100644
--- a/converter/other/pngtopam.c
+++ b/converter/other/pngtopam.c
@@ -924,7 +924,7 @@ determineOutputType(png_info *          const pngInfoP,
                 *depthP = 4;
                 strcpy(tupleType, "RGB_ALPHA");
             } else {
-                *depthP = 1;
+                *depthP = 2;
                 strcpy(tupleType, "GRAYSCALE_ALPHA");
             }
         } else {