So I'm trying to replicate the following in Magick.NET and I can get most of it, but I don't seem to grasp how to make the -tile with a gradient part to happen. (oh I am using Magick.Net based off of imagemagick 6 because of my previous post of the difference with transparency masking) - thanks if you have a minute to point me in the right direction.
command line command:
convert -size 320x90 canvas:none -stroke snow4 -size 1x90 -tile gradient:white-snow4 -draw "roundrectangle 16, 5, 304, 85 20,40" test.png
My C# start:
command line command:
convert -size 320x90 canvas:none -stroke snow4 -size 1x90 -tile gradient:white-snow4 -draw "roundrectangle 16, 5, 304, 85 20,40" test.png
My C# start:
{
String TempFile1 = "cylindertemp1.png";
MagickReadSettings settings = new MagickReadSettings();
settings.Width = 320;
settings.Height = 90;
// Create cynlinder
using (MagickImage image = new MagickImage("xc:none", settings))
{
image.StrokeColor = new MagickColor("snow4");
image.FillColor = new MagickColor("white");
Drawable[] draw_this = { new DrawableRoundRectangle(16, 5, 304, 85, 20, 40) };
image.Draw(draw_this);
image.Write(TempFile1);
}
}