RosettaCodeData/Task/Bitmap-PPM-conversion-through-a-pipe/C/bitmap-ppm-conversion-through-a-pipe-3.c
Ingy döt Net 518da4a923 B
2013-04-10 16:19:29 -07:00

12 lines
214 B
C

#include "imglib.h"
int main()
{
image img;
img = alloc_img(100,100);
fill_img(img, 50, 20, 200);
draw_line(img, 0, 0, 80, 80, 255, 0, 0);
print_jpg(img, 75);
free_img(img);
}