Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Layers OptimizeTransparency effect?

$
0
0
This is not possible with the current release of Magick.NET. This is the code that you can use in the next release of Magick.NET:
using (MagickImageCollection images = new MagickImageCollection("bunny_bgnd.gif"))
{
  foreach (MagickImage image in images)
  {
    image.ColorFuzz = 5;
  }

  images.OptimizeTransparency();
  images.Map();

  images.Write("bunny_bgnd.new.gif"))
}

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>