It is currently 04 Mar 2021, 11:52

• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Color to Alpha on (Visible/Linked/or Whatever) Layers

Share your Python Fu Scripts/plug-ins for GIMP here
rich2005
GIMP Guru

Re: Color to Alpha on (Visible/Linked/or Whatever) Layers

Post#11 by rich2005 » 01 Jan 2021, 10:07


The Gimp 2.10 color-to-alpha is now a GEGL operation and I assume the pdb is a backward compatibility operation to prevent old scripts failing.

You can check the GEGL settings using Filters -> Generic -> GEGL Graph as this comparison

Image

As you can see not an exact match, I probably got the rgb values a bit off. Using in a script / plugin? Not going to be easy, samj portable Gimp has a shell plugin python-fu-gegl-command-line.py that takes a GEGL command but it does rely on the actual GEGL application rather than the Gimp built-in procedures.

tim
GL Blogger

Post#12 by tim » 01 Jan 2021, 13:18


I find it so uncool to release GIMP with GEGL without plug-in/script access to come with it.
aka Tin

         

rich2005
GIMP Guru

Post#13 by rich2005 » 01 Jan 2021, 14:48


tim wrote:
01 Jan 2021, 13:18
I find it so uncool to release GIMP with GEGL without plug-in/script access to come with it.
Maybe you can get something from this: http://gimpchat.com/viewtopic.php?f=9&t=18040&start=20

tim
GL Blogger

Post#14 by tim » 01 Jan 2021, 17:00


thanks for the link but I still think it's too cryptic to work with GEGL. Hopefully they'll support procedure calls in future version of GIMP.
aka Tin

         

skinnyhouse
Script Coder

Post#15 by skinnyhouse » 01 Jan 2021, 18:13


With you there Tim. Python 3 is creeping closer - development version 2.99.4 has been released.


GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Post Reply New Topic
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 16 guests