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

New Post: How to combine multiple images into one

$
0
0
You should use the MagickImageCollection class. Here is an example:
using (MagickImageCollection images = new MagickImageCollection())
{
  MagickImage first = new MagickImage("first.png");
  images.Add(first);
  MagickImage second = new MagickImage("second.png");
  second.Page = new MagickGeometry(50, 50, 0, 0);
  images.Add(second);
  
  MagickImage result = images.Merge(LayerMethod.Mosaic);
  result.Write("output.png");
}

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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