added a new function : fimg_put_rgb

This commit is contained in:
tonton Th
2020-03-24 10:41:57 +01:00
parent e9a61bb96a
commit e128add5a6
4 changed files with 26 additions and 2 deletions

View File

@@ -62,6 +62,7 @@ int fimg_describe(FloatImg *head, char *txt);
char *fimg_str_type(int type);
int fimg_plot_rgb (FloatImg *head, int x, int y, float r, float g, float b);
int fimg_get_rgb(FloatImg *head, int x, int y, float *rgb);
int fimg_put_rgb(FloatImg *head, int x, int y, float *rgb);
int fimg_clear(FloatImg *fimg);
int fimg_add_rgb(FloatImg *head, int x, int y, float r, float g, float b);
int fimg_rgb_constant(FloatImg *head, float r, float g, float b);