Gimp.Drawable.prototype.merge_filter

function merge_filter(filter: Gimp.DrawableFilter): void {
    // Gjs wrapper for gimp_drawable_merge_filter()
}
  

This procedure applies the specified drawable effect on drawable and merge it (therefore before any non-destructive effects are computed).

The drawable argument must be the same as the one used when you created the effect with [ctor@Gimp.DrawableFilter.new]. Once this is run, filter is not valid anymore and you should not try to do anything with it. In particular, you must customize the operation's arguments as received with [method@Gimp.DrawableFilter.get_config] or set the filter's opacity and blend mode before merging the effect.

Since 3.0

filter

The drawable filter to merge.