Importing GIF looses transparency (w/ConstituteImage)

Carl-Einar Thorner <[email protected]> Mon, 12 Oct 2020 14:26:49 -0700
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <CAHTaVWDoPNq4o4oGt-rT6mCeVNBtwxuz0Z9xX2Ap38ytgLcZtg@mail.gmail.com>
Hi,

I am having an issue with loading/saving GIF images with ConstituteImage.
When saving to WebP it works great, but for some reason transparency turns
into a black background for GIF. I am not seeing the same issue with
ImageMagick for saving GIFs. Here is the offending code:

https://github.com/libvips/libvips/blob/master/libvips/foreign/magick.c#L321

and here is a bug I have opened with the VIPS project:

https://github.com/libvips/libvips/issues/1851

It seems to me that vips passes the correct parameters for the mapping, but
I'm stumped on where to go from here.

Is there a bug in GraphicsMagick or is VIPS calling ConstituteImage wrong?

Thanks,
Carl

_______________________________________________
Graphicsmagick-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help