diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-09-30 23:22:13 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-09-30 23:22:13 +0000 |
commit | 4c48ab80216f0ba22a923cc9251219108b5ccf94 (patch) | |
tree | de80bc4ef7cd5efca7896c2b6831e4d3de13a6d8 /converter/other | |
parent | e0dd831bcaacef8a402a02d4bb35866aaaa5d6ca (diff) | |
download | netpbm-mirror-4c48ab80216f0ba22a923cc9251219108b5ccf94.tar.gz netpbm-mirror-4c48ab80216f0ba22a923cc9251219108b5ccf94.tar.xz netpbm-mirror-4c48ab80216f0ba22a923cc9251219108b5ccf94.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4146 9d0c8265-081b-0410-96cb-a4ca84ce46f8
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 d360f433..f7e6470b 100644 --- a/converter/other/pamtogif.c +++ b/converter/other/pamtogif.c @@ -1516,7 +1516,7 @@ gifEncode(struct pam * const pamP, bool const noclear, bool const usingAlpha) { /*---------------------------------------------------------------------------- - 'useAlpha' means use the alpha (transparency) plane, if there is one, to + 'usingAlpha' means use the alpha (transparency) plane, if there is one, to determine which GIF pixels are transparent. When this is true, the colormap *cmapP must contain a transparent entry. -----------------------------------------------------------------------------*/ @@ -2035,7 +2035,7 @@ main(int argc, char *argv[]) { gifEncode(&pam, stdout, rasterPos, cmdline.interlace, 0, bitsPerPixel, &cmap, cmdline.comment, cmdline.aspect, !cmdline.nolzw, cmdline.noclear, - !cmdline.transparent); + transType==TRANS_ALPHA); destroyCmap(&cmap); |