Hallo Christoph,
>> Ich möchte einen Kreis mit 10 Pixel Durchmesser an der Positon x=10 und y=50
circle 10,50 6,46
>> Bitte wie stelle ich das an?
www.imagemagick.org/script/command-line-options.php#draw circle x0,y0 x1,y1
Circle has a center coordinate (das sind x0 und y0) and a coordinate for the outer edge (das sind x1 und y1).
Schau Dir nun die Skizze im Anhang an.
Den Radius kennst Du, das sind 5 Pixel
c=5 (Radius)
a=b
a ist noch unbekannt, diesen Wert kannst Du mit dem Satz des Pythagoras ermitteln.
Pythagoras: aQuadrat + bQuadrat = cQuadrat
Formel nach a umgestellt ergibt
a = Wurzel aus cQuadrat/2
und ganzzahlig runden
x0 und y0 sind bekannt
x0=10
Y0=50
x1 und y1 kannst Du nach Ermitteln von a berechnen
x1=x0-a
y1=y0-a
Fertig.
Gruß Sabine