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

New Post: Question about composite command and images of different sizes

$
0
0
                    using (MagickImageCollection images = new MagickImageCollection())
                    {
                        //add the 1st image
                        MagickImage image = new MagickImage(f.FullName.ToString());
                        images.Add(image);

                        //add the watermark
                        MagickImage watermark = new MagickImage(Path.Combine(appPath, "watermark.png"));
                        images.Add(watermark);

                        //do the composite and write over the image
                        image.Composite(watermark, Gravity.Southeast);
                        image.Write(f.FullName.ToString());
                    }
works pretty good. Except the PNG has a black background.

On an different note... back when I ran composite at the command prompt I was able to do -geometry +5+0. How do I do that here?

Thanks.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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