TORT 0.9

tort tort tort

This C++ program based on Imagemagick libs lets you build up pie-chart graphics. It could be used as a CGI program in your website.

You can download it and use it under the terms of the GNU GPL.

Here is a brief description of the options:

Usage: tort [OPTION]... VALUES...
Generates a pie-chart based on the integer values passed on the command line.
-? prints this help
-w <width> Width of the image in pixels
-h <height> Height of the image in pixels
-r <radius> Radius of the pie in pixels
-f <filename> Output filename. If not set, the output is given to stdout
-t <type> Output file format. Accepted values are PNG and JPEG
-s <angle> Specifies a start-angle
-a <oversample> Enables antialias

EXAMPLE:\n\n";
tort -w 115 -h 115 -r 50 -a 3.2 -s 5 -t PNG -f test.png 1 2 3 4 2


About anti-alias: an example with aa turned off and on:
no anti-alias anti-alias

BUGS: this is the first relase. Lots of bugs!

TO-DO: win32 porting, more options on the graphics (lines on the borders, exploded view), bugfixes



alesan@manoweb.com