introduction des ajustements de contraste

This commit is contained in:
2019-11-15 10:39:22 +01:00
parent 210af322b0
commit c7a428c5f0
6 changed files with 60 additions and 33 deletions

View File

@@ -33,6 +33,9 @@ if (FIMG_TYPE_RGB != src->type) {
if (FIMG_TYPE_GRAY != dst->type) {
fprintf(stderr, "%s : bad dst type %d on %p\n", __func__,
dst->type, dst);
/*
* may be we can convert dst picture on the fly ?
*/
return -9;
}