This tool will draw on an image or a colored background and output to your server as a random Draw.jpg, Draw.gif, or Draw.png. You will also need to make a subdirectory called temp as the images are output to that sub. |
IM COMMAND | FUNCTION |
line | Left x,y pixel and right x,y pixel |
rectangle | Top left x,y pixel and bottom right x,y pixel |
roundrectangle | Top left x,y pixel and bottom right x,y pixel and angle x,y |
arc | Top left x,y pixel and bottom right x,y pixel and angle x,y |
bezier | left x,y, width height xy, right x,y |
ellipse | Center x,y, width height x, y, circle 0,360 |
circle | Center x,y, width x, height y |
polyline | Connect pixels x,y |
polygon | Connect pixels x,y last pixel=first |