Skinnyhouse wrote:
Well I keep trying but I get very frustrated by the process - even though you have done a great job in your tut (and with your plug-ins) - as well as the Bare Foot blogger's stuff. Couldn't find any documentation for the gimp:gegl stuff and the plug-in by kevin to use gegl graph stuff seems to not like gimp:alpha stuff.
Suppose I was hoping to apply to custom font files.
(Too much stuff talk I know - but that's about as technical as I get these days!)
Only Pango MarkUp can apply custom fonts, but "GIMP GEGL" Blend modes are listed like this inside c file templates. They
are represented as these numbers for an unknown reason and blendspace 1 or 2 may mean to avoid or cover transparency while blending. I forgot.
Here is a list of all common blend modes people would expect to use in Gimp
Quote:
hslcolor = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 39, NULL);
grainmerge = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 47, NULL);
softlight = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 45, NULL);
addition = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 33, NULL);
hardlight = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 44, NULL);
hsvhue = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 37, NULL);
overlay = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 23, NULL);
burn = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 43, "blend-space", 1, NULL);
lchcolor = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 26, "blend-space", 3, NULL);
multiply = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 30, "blend-space", 2, NULL);
linearlight = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 50, "blend-space", 2, NULL);
screen = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 31, "blend-space", 2, NULL);
antierase = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 63, "blend-space", 2, NULL);
colorerase = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 57, "blend-space", 1, NULL);
divide = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 41, "blend-space", 1, "opacity", 0.03, NULL);
subtract = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 34, "composite-mode", 0, NULL);
dodge = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 42, "composite-mode", 0, "composite-space", 1, "blend-space", 1, NULL);
grainextract = gegl_node_new_child (gegl,
"operation", "gimp:layer-mode", "layer-mode", 46, "composite-mode", 0, NULL);
This is one major thing that was never documented. It is the equalivant of linking
gimp:layer-mode layer-mode=
As for gimp:threshold-alpha that is easy just write
thresholdalpha = gegl_node_new_child (gegl,
"operation", "gimp:threshold-alpha",
NULL);
Liam never talked about renaming ENUM list either so you can link or make filters with list.
Attachment:
gimp_only_blend_modes.zip [510 Bytes]
Downloaded 137 times