简体   繁体   中英

Draw a circle using im4java

I need to draw a circle and save it as an image in a directory. I want to draw the image using im4java. I have tried to create, but there is no IMoperation available in im4java. Any help???

im4java is a wrapper to execute ImageMagick commands from your java code.

As you want to call a custom command, not implemented in im4java as a standard method, then either extend im4java functionality to call this command (it is opensource) or use Apache Commons Exec to call this custom command.

The ImageMagick command to draw a circle is explained here:

http://www.imagemagick.org/Usage/draw/#circles

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM