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

New Post: Beginners question

$
0
0
Hi,

I am trying to create an image which I have written out in batch convert first.
convert 3508x2480empty.png  -fill none -stroke black -strokewidth 1 -draw "rectangle 10,10 310,110" -pointsize 34 -font Arial -fill black -strokewidth 1 -draw "text 100,40 'COMP1'" -pointsize 18 -draw "text 20,60 '34 vs 18 points'" 3508x2480rectangle1.png
convert 3508x2480rectangle1.png  -fill none -stroke black -strokewidth 1 -draw "rectangle 10,210 310,310" -pointsize 34 -font Arial -fill black -strokewidth 0 -draw "text 100,240 'COMP2'" -pointsize 22 -draw "text 20,260 '34 vs 22 points'" 3508x2480rectangle2.png
convert 3508x2480rectangle2.png -stroke black -draw "line   160,110 160,210" 3508x2480rectangle3.png
This create two boxes with a line between them. And now I want to do the same from C#. Since these are also multiple draws I try to follow this example: TEXT

But that gives me the error of not finding the type of DrawableBase. What I am doing wrong?
How should I implement these convert commands into c#? They all apply to the same image.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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