add togray filter

This commit is contained in:
tTh 2024-04-06 20:25:51 +02:00
parent cce8e0b86c
commit e00c6b8fb2
2 changed files with 7 additions and 0 deletions

View File

@ -510,6 +510,11 @@ switch (idFx) {
retval = run_triptyq(image, 0);
break;
case CR_togray:
retval = fimg_to_gray(image);
break;
default :
fprintf(stderr, "%s : effect #%d invalid\n",
__func__, idFx);

View File

@ -46,4 +46,6 @@
62 suprbg 1 0
80 thermocol 1 0
81 triptyq 1 0
90 togray 1 0
-1 end 1 1.0