about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-05-08 15:51:06 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-05-08 15:51:06 +0000
commit5f3f8a1273d87104c0884995e6e58eab392de08b (patch)
treeaccfed5b3456beda28b5c9bca4758653f014c603 /converter/other
parent877641742255c9eeb82438eb54fd772f65e61e84 (diff)
downloadnetpbm-mirror-5f3f8a1273d87104c0884995e6e58eab392de08b.tar.gz
netpbm-mirror-5f3f8a1273d87104c0884995e6e58eab392de08b.tar.xz
netpbm-mirror-5f3f8a1273d87104c0884995e6e58eab392de08b.zip
Release 10.94.03
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4099 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other')
-rw-r--r--converter/other/pamtogif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/converter/other/pamtogif.c b/converter/other/pamtogif.c
index 9b833214..6ec3067b 100644
--- a/converter/other/pamtogif.c
+++ b/converter/other/pamtogif.c
@@ -91,9 +91,9 @@ pamAlphaPlane(struct pam * const pamP) {
     if (streq(pamP->tuple_type, "RGB_ALPHA"))
         alphaPlane = 3;
     else if (streq(pamP->tuple_type, "GRAYSCALE_ALPHA"))
-        alphaPlane = 2;
+        alphaPlane = 1;
     else if (streq(pamP->tuple_type, "BLACKANDWHITE_ALPHA"))
-        alphaPlane = 2;
+        alphaPlane = 1;
     else
         alphaPlane = 0;