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

New Post: Add border to image

$
0
0
You could try to following:
using (MagickImage image = new MagickImage(@"input.png"))
{
  image.Crop(100, 100, Gravity.Center);
  image.BorderColor = Color.Purple;
  image.Border(10);
  image.Write(@"output.png");
}
Why do you need the CMYK conversion?

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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