Quantcast
Viewing all articles
Browse latest Browse all 3693

New Post: Creating a colour swatch dynamically with a predetermined hex colour

You should be able to do that with the following code:
using (MagickImage image = new MagickImage("#FF00FF",75,75))
{
  image.Write(@"c:\pretty.jpg");
}
Or do I misunderstand what you mean witch "colour swatch"?

Viewing all articles
Browse latest Browse all 3693

Trending Articles