Composing PNG Image over an Animated GIF File using Magick.NET? #945
Unanswered
pariswhitney
asked this question in
Help
Replies: 1 comment
-
You can do that with the following sample: using (var images = new MagickImageCollection("animated.gif"))
{
images.Coalesce();
using (var alpha = new MagickImage("alpha.png"))
{
foreach (var image in images)
{
image.Composite(alpha, CompositeOperator.Over);
}
}
images.Optimize();
images.Write("output.gif");
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How is it possible with Magick.net in C# (not with CLI) to put an alpha.png image over an single animated.gif file and save this composing again as an single animated gif?
Beta Was this translation helpful? Give feedback.
All reactions