Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Is there anyway to add blend modes inbetween operations in Bimp?

Tue Aug 16, 2022 5:45 pm

Let's say I have three operations in Bimp.

1. A GEGL Operation

2. a Hypothetical blend mode operation

3. a GMIC operation

The goal is to blend the GEGL operation and the GMIC operation using BIMP.

Is this possible?

Re: Is there anyway to add blend modes inbetween operations in Bimp?

Wed Aug 17, 2022 12:44 am

I've been using this for a long time.
Possible with a small caveat.
BIMP does not support xcf, so the result will be saved as "New from visible".
So it requires writing a simple plugin that will correctly manipulate layers (a small example in the appendix with built in gegl_command by Kevin Payne and Claude Lion) and use in BIMP: "Other Gimp procedure ..."
If you want to keep layers, there are other plugs for that (they process images opened in Gimp as layers).

Re: Is there anyway to add blend modes inbetween operations in Bimp?

Fri Aug 19, 2022 6:06 am

A bit late to this party and more about BIMP limitations rather than Gimp / GEGL

BIMP does have some strange characteristics, for example, png's will always have an alpha channel even when flattened. BIMP has a list of reserved terms, which is why some entries are absent from the pdb. Selections are ignored, all sorts of things.

This driving me crazy, tried some things over the last couple of days without success.

I use the split python for GEGL, a little script for the commands and gegl_command.py to do the work.

The attached is a mix of GEGL / gmic / Gimp layer mode. Nothing special, a test.

bimp.jpg
bimp.jpg (141.56 KiB) Viewed 5388 times


Starting with a transparent layer (1) and I can get an effect (need to refresh the layers) (2) or export to a jpeg (3) result as expected...however...if I use BIMP, rendering to a png is ok, same as (2) Using jpeg all the hidden pixels in the alpha channel are exposed (4)

Just a comment that BIMP is a great tool but has 'quirks' ;)
Post a reply