[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Drawing four circles with ImageMagick

Posted on 2007-10-04
Medium Priority
Last Modified: 2012-08-13
I am new to ImageMagick and find it very cool!

My question is this:  I want  a 500 by 500  .gif image with 4 circles on it.

Later I will want to make the position of the circles random, but for now any position for the circles if fine.

Question by:perldog
1 Comment
LVL 16

Accepted Solution

hankknight earned 2000 total points
ID: 20013598
This should do the job:

 convert -size 500x500 xc:white  \
            -draw "fill green circle 41,39 44,57 \
                   fill blue circle 99,39 256,87 \
                   fill yellow circle 39,79 111,157 \
                   fill red circle 70,61 57,32  " circles.gif

For more help, look here:


Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the PaperPort 14 Scanner Connection Tool, which Nuance provides at no charge in order to fix scanning problems in Windows 8. Furthermore, users of PaperPort 14 in Windows 7 and Windows 10 have reported that the tool works in t…
This article shows how to convert a multi-page PDF file into multiple image files, with one image file created for each page of the PDF. It does this by utilizing an excellent, free software package called GraphicsMagick. The solution is amazingly s…
The goal of the tutorial is to teach the user what gradient filters are and how to use them. When you have a photo and some part of the photo is either over exposed or under exposed, you use a gradient filter to help mask the need to touch up th…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question