forked from tTh/FloatImg
coronavirus panic
This commit is contained in:
parent
9b8a30f0b7
commit
7372ffdbb6
|
@ -46,6 +46,8 @@ for (x=0; x<fimg->width; x++) {
|
||||||
fimg_plot_rgb(fimg, x, y, fr, fg, fb);
|
fimg_plot_rgb(fimg, x, y, fr, fg, fb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/* --------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------- */
|
||||||
|
|
|
@ -49,9 +49,10 @@ else {
|
||||||
fprintf(stderr, "%s is creating the picz\n", __func__);
|
fprintf(stderr, "%s is creating the picz\n", __func__);
|
||||||
fimg_create(&src, 640, 480, FIMG_TYPE_RGB);
|
fimg_create(&src, 640, 480, FIMG_TYPE_RGB);
|
||||||
fimg_test_pattern(&src, 0, 255.0);
|
fimg_test_pattern(&src, 0, 255.0);
|
||||||
fimg_save_as_png(&src, "test.png", 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fimg_save_as_png(&src, "test.png", 0);
|
||||||
|
|
||||||
foo = fimg_clone(&src, &dst, 0);
|
foo = fimg_clone(&src, &dst, 0);
|
||||||
|
|
||||||
fimg_filter_3x3(&src, &dst, &filter_a);
|
fimg_filter_3x3(&src, &dst, &filter_a);
|
||||||
|
|
Loading…
Reference in New Issue