nothing important

This commit is contained in:
2019-12-31 12:02:37 +01:00
parent feb39d05fe
commit fdf5cc9462
2 changed files with 10 additions and 3 deletions

View File

@@ -57,13 +57,20 @@ FloatImg fimg;
int foo;
fimg_create(&fimg, 512, 512, FIMG_TYPE_RGB);
fimg_draw_something(&fimg);
/* XXX
for (foo=0; foo<512; foo++) {
fimg_plot_rgb(&fimg, foo, foo, 17000.0, 8000.0, 11111.1);
}
*/
fimg_save_as_pnm(&fimg, "quux.pnm", 0);
foo = fimg_save_as_pnm(&fimg, "quux.pnm", 0);
fprintf(stderr, "save as pnm -> %d\n", foo);
foo = fimg_save_as_png(&fimg, fname, 0);
fprintf(stderr, "save as png -> %d\n", foo);
return 0;
}