added gray conversion to fimgfx

This commit is contained in:
2020-01-10 14:18:38 +01:00
parent 0104a736ea
commit 360c2e113a
2 changed files with 11 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ extern int verbosity; /* must be declared around main() */
/*
* floating imgs MUST be allocated before calling this func.
*/
int fimg_mk_gray_from(FloatImg *src, FloatImg*dst, int k)
int fimg_mk_gray_from(FloatImg *src, FloatImg *dst, int k)
{
float kr, kg, kb, kdiv;
int nbb, foo;