mirror of https://github.com/GNOME/gimp.git
![]() For plug-in writers reference, these are equivalent: - (plug-in-threshold-alpha RUN-NONINTERACTIVE image layer threshold)) + (gimp-drawable-merge-new-filter layer "gimp:threshold-alpha" 0 LAYER-MODE-REPLACE 1.0 "value" (/ threshold 255)) The main difference is that threshold arg was a [0; 255] int whereas "value" is a [0.0; 1.0] double. This commit also shows how to run filters in C plug-ins (file-ico here) as a one-liner too, thanks to the varargs conviency function. |
||
---|---|---|
.. | ||
ico-dialog.c | ||
ico-dialog.h | ||
ico-export.c | ||
ico-export.h | ||
ico-load.c | ||
ico-load.h | ||
ico.c | ||
ico.h | ||
meson.build |