This very cool technology. It allows you to edit drawings and pictures using command line.

Create an sh document to execute the commands. With in the document treat each command like a layer. If you know you need a black circle on top of a red one. You have to draw the red circle first.

To begin an image magick command:

convert-scale % changes the size of the pic you're working wih-compress JPG will compress the file-quality # changes the quality

To select a color for an object:-fill red this lets the computer known anything drawn after this is red.

To create a circle and add it to the image use:-draw ‘circle 0x,0y 1x,1y’ The first set of coordinates is the center of the circle, while the last set of coordinates is an end point.

The following line of code takes the image copy.jpg - scales it by 50%- compresses the jpg file- changes the quality to 85- draws a white circle- saves the file as copy-sm.jpg

convert -scale 50% -compress JPEG -quality 85 -fill white -draw 'circle 100,100 130,130'  copy.jpg copy-sm.jpg

¥