convert teste.png -strokewidth 1 -stroke red -draw "line 0,400 1200,400, line 600,0 600,800" teste_out.png
mogrify -strokewidth 1 -stroke red -draw "line 0,400 1200,400, line 600,0 600,800" *.png
convert teste.png -pointsize 75 -fill white -draw "text 460,290 '#00'" teste00.png
convert -size 1000x600 xc:skyblue -fill white -stroke black -draw "rectangle 200,100 800,500" draw_rect.png
convert -size 300x500 xc:none -stroke black -strokewidth 1 -fill blue -draw "rectangle 0,100 200,300" -draw "ellipse 100,300 100,50 0,180" -draw "ellipse 100,100 100,50 0,360" cilindro.png; eog cilindro.png
Last active
May 1, 2020 04:15
-
-
Save rg3915/1c893aa90128cd24921e750da8988245 to your computer and use it in GitHub Desktop.
Imagemagick draw line on image
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment