diff options
Diffstat (limited to 'converter/other')
-rw-r--r-- | converter/other/pamtogif.c | 4 |
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; |