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

New Post: Having trouble trying to replicate a ImageMagic montage command

$
0
0
I was planning to publish a new release tonight but I will delay it a couple of days so I can add the constructor and fix the Geometry bug.

I just realized that for your situation MagickImageCollection.AppendHorizontally should be enough:
using (MagickImageCollection images = new MagickImageCollection())
{
  // Add the first image
  MagickImage first = new MagickImage("blue.png");
  images.Add(first);

  // Add the second image
  MagickImage second = new MagickImage("yellow.png");
  images.Add(second);

  images.Add(first);
  images.Add(first);

  using (MagickImage result = images.AppendHorizontally())
  {
    // Save the result
    result.Write("out.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>