Re: Importing GIF looses transparency (w/ConstituteImage)

[email protected] Thu, 15 Oct 2020 18:16:48 +0100
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <CAGNS0RtAp9gYpj1Gt0657Kh5+FgO9m-AAmo06bgVXLRnSjs4eQ@mail.gmail.com>
Hello Bob,

On Wed, 14 Oct 2020 at 18:52, Bob Friesenhahn
<[email protected]> wrote:
> Libvip's implementation of magick_import_pixels() does not appear to
> be very efficient since it is creating a temporary image.

It's copied from this compatibility wrapper I found:

https://sourceforge.net/p/graphicsmagick/code/ci/default/tree/wand/magick_compat.c#l315

Something quicker would be great.

I added:

    image->matte = constitute_image->matte;

And GM is now saving transparency! Thanks!

It's still writing 16-bit images though. Is there something I can set
to get StorageType passed along?

John