add shift to zero filter

This commit is contained in:
tTh 2024-09-29 19:04:10 +02:00
parent 5fbff721d8
commit 91440e7ea5
2 changed files with 6 additions and 0 deletions

View File

@ -514,6 +514,11 @@ switch (idFx) {
retval = fimg_to_gray(image); retval = fimg_to_gray(image);
break; break;
case CR_shift0:
/* added Sun Sep 29 16:55:54 UTC 2024 */
retval = fimg_auto_shift_to_zero(image, image);
// fprintf(stderr, "******** Shift Zero -> %d\n", retval);
break;
default : default :
fprintf(stderr, "%s : effect #%d invalid\n", fprintf(stderr, "%s : effect #%d invalid\n",

View File

@ -47,5 +47,6 @@
80 thermocol 1 0 80 thermocol 1 0
81 triptyq 1 0 81 triptyq 1 0
90 togray 1 0 90 togray 1 0
91 shift0 1 0
-1 end 1 1.0 -1 end 1 1.0