It is currently Sun Jul 26, 2026 7:53 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 94 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Fri Jan 12, 2024 11:39 pm  (#41) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
I desaturated the GEGL easter egg image; non-destructively of course and used the color picker and it still works ignoring the grayscale modifications.
The same happens when I rotate the hue or use colorize. The color picker always grabs the layers original color.
Attachment:
color_picker_working_despite_desaturation.png
color_picker_working_despite_desaturation.png [ 215 KiB | Viewed 3828 times ]


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Sat Jan 13, 2024 12:25 am  (#42) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
There are two things I am posting about here. First, I have no idea why but sometimes warp transform is non-destructive and other times it is not non-destructive.


Unrelated to warp transform I found an interesting behaviour that involves the preview line and non-destructive filters. Below is a screenshot of my GEGL plugins "align tool" and "Clouds" being used with two drop shadows. All non-destructive and clouds is using the "behind" blend mode.
Attachment:
alignment_tool_fun.png
alignment_tool_fun.png [ 411.01 KiB | Viewed 3826 times ]


When I split preview my plugin "alignment" it shows all three other filters conforming to the split view, clouds looks normal but the two drop shadows that make an outline and shadow are applying on the split preview line.
Attachment:
ds_lines.png
ds_lines.png [ 284.35 KiB | Viewed 3826 times ]


To download these two plugins go here. They work in Gimp 2.10 as well (destructive of course)
https://github.com/LinuxBeaver/GEGL-Clo ... /releases/
https://github.com/LinuxBeaver/Gimp_Ali ... /releases/


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Sat Jan 13, 2024 1:23 am  (#43) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Here is me trying to recreate my advance text styling plugins with native Gimp filters alone and no plugins of mine or GEGL Graph syntax. The one exception is a GEGL Graph that calls gimp:threshold-alpha because I could not find that command in the menu.

This GMM plugin mock up fails hard because there is no id and ref
Attachment:
crap_gmm_fail.png
crap_gmm_fail.png [ 472.22 KiB | Viewed 3822 times ]



However recreating simple plugins of mine using GEGL filters alone in Gimp does work because they are simple.
Attachment:
custom_bevel_recreated.png
custom_bevel_recreated.png [ 310.77 KiB | Viewed 3822 times ]


But why run 4 filters manually to create a "Custom Bevel" Effect when you could just download my plugin here that does it all in one filter?
https://github.com/LinuxBeaver/GEGL-Cus ... l/releases

Attachment:
plugin_simple_copy.png
plugin_simple_copy.png [ 304.48 KiB | Viewed 3822 times ]



The simple plugins of mine that only use a few commands will be deprecated by this build. But the advance text stylers will not as they cannot be replicated just by chaining filters. For example, no matter how many GEGL filters one chains they will never be able to recreate my "inner glow" effect because it requires GEGL only blend modes that Gimp's GUI does not have access too and GEGL (id and ref) which isn't present in the "layer effects".


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Sat Jan 13, 2024 1:40 am  (#44) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Back in 2022 one person told me once Gimp gets non-destructive editing they will be able to have workflows similar to my GEGL Graph syntax writing. This is mostly wrong outside of simple things and here I will explain why in clear detail.

This is the code to render my inner glow plugin in GEGL Graph without installing it. The 9 underlined commands are options that are available in GEGL Graph syntax within Gimp, but not Gimp's GUI and even if they were available in Gimp's GUI it would just be a complicated list of dozens of non-destructive filters instead of just one filter called "Inner Glow".
Attachment:
9_commands_missing.png
9_commands_missing.png [ 54.05 KiB | Viewed 3820 times ]


id=0 src-in aux=[ ref=0 id=1 dst-atop   aux=[  ref=1 distance-transform  ] xor srgb=true     aux=[ ref=1 ] color-overlay value=#000000 dropshadow x=0 y=0 grow-radius=5 color-overlay value=#ff0000  ]
median-blur radius=3 alpha-percentile=94
crop


Here is a preview of my plugins "Custom Bevel" and "Inner Glow" chained together. Inner Glow is blended with Grain Merge and is on mid opacity. If this was possible without my plugins (which it isn't) it would take dozens of filters (probably like 30) instead of just two.

Attachment:
inner_glow_grain_merge.png
inner_glow_grain_merge.png [ 249.41 KiB | Viewed 3820 times ]


If you want to download my Inner Glow plugin go here, it ships with my layer effects engine "GEGL Effects" Inner Glow has both a stand alone mode and a mode inside GEGL effects.
https://github.com/LinuxBeaver/GEGL-Eff ... L/releases


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Sat Jan 13, 2024 9:10 am  (#45) 
Offline
GimpChat Member

Joined: Dec 28, 2023
Posts: 67
contrast_ To answer a few questions:

- Any tool that uses GEGL operations could technically be non-destructive. The ones without GUIs are (at the moment) automatically set to be destructive when merging (e.g. Linear Invert in the color menu could be a layer effect if applied with GEGL Graph, but it seems like users would prefer it to be destructive by default).

- Tools like Warp and Cage Transform also use GEGL, but cause problems if you mess with them in the layer effects menu while the tool is active. In the latest build we've added more protections against merging them down and causing a crash.

- Right now the selection tool operates on the source layer's raw pixel buffer. There's a new function in this branch that lets us get the "merged image" for exports, and we could use that to make the selection tool take the filter effect(s) into account. However, we don't want to potentially break something as important as the selection tool in an initial release, so we'll likely do that in the future after there's been more thorough testing of the layer effects code.

- My guess regarding id and ref is that we currently don't search the parent graph. Basically, layer effects look like this:
<graph>
  <graph>Layer Effect 1</graph>
  <graph>Layer Effect 2</graph>
  <graph>Layer Effect 3</graph>
</graph>

So IDs in Layer Effect 1 can't be seen in the sibling Layer Effects 2 or 3. This could be solved either by either allowing multiple effects per filter, or by adding code to search the entire filter stack and pass that information to individual graphs. Not a 3.0 feature, but something to look at in the future.


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Thu Jan 18, 2024 3:35 am  (#46) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
I figured out how to make this build usable for real work of mine. I can pretty much use any filter except Hue Saturation and Curves and I have to use the Levels in GEGL operations not the normal one in the main menu. If I don't do this those filters will work until restart where the .xcf will be corrupted.

I also run
flatpak run org.gimp.GIMP -n on my machine to access normal Gimp 2.10 or Gimp 2.99 that is not non-destructive. The N is for new instance so multiple versions of Gimp can run together.

Moving on to the workflow of the light house building...


Original Image WITHOUT EDITS

Attachment:
original_lighthouse_building.png
original_lighthouse_building.png [ 1.07 MiB | Viewed 3731 times ]


Edits preview - Layer 2 is an green selection on LCh Color and has no filters
Attachment:
edits_nde.png
edits_nde.png [ 853.58 KiB | Viewed 3731 times ]


Final Result Maybe I should have done a hue-saturation on red to brighten the roof? but that would have corrupted the xcf file on restart
Attachment:
mod_lightness_building_nde.png
mod_lightness_building_nde.png [ 1.17 MiB | Viewed 3731 times ]


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Thu Jan 18, 2024 4:40 am  (#47) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
I used the "Brightness Contrast" in GEGL operations as the one in Gimp's main menu causes the corruption on reopening the xcf.

Original Image
Attachment:
original_fishy.png
original_fishy.png [ 2.18 MiB | Viewed 3729 times ]


GEGL Edits showing the layer effects
Attachment:
fishy_edits_non_destructive.png
fishy_edits_non_destructive.png [ 1.09 MiB | Viewed 3729 times ]



Final Image (includes manual clone tool touch up on the fishes tail)
Attachment:
nde_fishy_with_manual_clone_tool.png
nde_fishy_with_manual_clone_tool.png [ 2.16 MiB | Viewed 3729 times ]


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Thu Jan 18, 2024 4:49 am  (#48) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Regarding the clone tool. Unlike the color picker and selection tool it actually does remember layer info it samples

If you run the clone tool with effects it will remember them. If you run the clone tool without effects it will NOT remember them.
THIS IS GREAT!!!
Attachment:
clone_tool_remembers_nde_info.png
clone_tool_remembers_nde_info.png [ 1.17 MiB | Viewed 3729 times ]



--- also here is a new bug I found and I think it is triggered by opening a layer with main menu brightness contrast--

Attachment:
bug.png
bug.png [ 94.29 KiB | Viewed 3729 times ]


From what I understand in GEGL "Children (new_child)" are operations to be used in a larger operation. My GEGL plugins call many nodes listed as new_child nodes within it. I hope this bug gets solved.


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Fri Jan 19, 2024 2:21 am  (#49) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
I am DYING to be notified about an update where CMYK Student's build remembers colors. (like I can run drop shadow, change the color and it is not reset to a default color) Because I figured out how to make this part of my workflow in Gimp but the limitations are huge. No layer mask, no to most (gimp:) menu operations and no to any filter that has a color picker on non default options.

Original Image (resized and cropped)
Attachment:
original_image_light_house_resized.png
original_image_light_house_resized.png [ 762.13 KiB | Viewed 3700 times ]


During Modification time

Attachment:
layer_effects_image.png
layer_effects_image.png [ 956.91 KiB | Viewed 3700 times ]




Modified Image with GEGL filters

Attachment:
resized_light_house_TU.png
resized_light_house_TU.png [ 2.4 MiB | Viewed 3700 times ]


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Fri Jan 19, 2024 2:53 am  (#50) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
This build of Gimp has a new GEGL filter called Voronoi diagram which is basically a port of an old gimp script fu to GEGL made by someone else back in the early 2000s. I decided to chain this new filter with sharpening filters and my plugin "Glass Text"

To learn more about my plugin "glass text" go here.
https://github.com/LinuxBeaver/Glass_Te ... /GlassText

Here is novel Voronoi Diagram, Levels, Glass Text (my plugin), Drop Shadow, Difference of Gaussian (Overlay) and Sharpen together. It is editable.
Attachment:
glass_love.png
glass_love.png [ 1.12 MiB | Viewed 3699 times ]


Now the background is a gradient to make it cooler.
Attachment:
editable_awesome_text.png
editable_awesome_text.png [ 1.13 MiB | Viewed 3699 times ]


Now its off the charts awesome

Attachment:
awesome_text_man.png
awesome_text_man.png [ 1022.31 KiB | Viewed 3699 times ]



oh btw, If I figure out how to port Voronoi Diagram to Gimp 2.10 (which should definitely be possible) I can make a plugin of this for Gimp 2.10 and 3 but it will be destructive.


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Fri Jan 19, 2024 3:36 am  (#51) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
I recreated my Glossy Balloon plugin in a static preview with GEGL syntax in CMYK's Gimp build. The GEGL Graph filter is code for Glossy Balloon, and here I explain why it is IMPOSSIBLE to recreate this plugin just by adding new filters. It only works by writing GEGL syntax. Below is said syntax to recreate Glossy Balloon.

Attachment:
glossy_balloon_remake.png
glossy_balloon_remake.png [ 390.89 KiB | Viewed 3698 times ]


GEGL Syntax to make a simple version of my glossy Balloon plugin
color-overlay value=#f95dff

median-blur radius=10 alpha-percentile=90

gaussian-blur std-dev-x=7 std-dev-y=7

id=1 screen  aux=[ ref=1  emboss  type=bumpmap azimuth=90  elevation=15 opacity value=5  ]


opacity value=3


Because Gimp's GUI lacks the ability to put more then one filter in a GEGL composer Glossy Balloon is impossible to recreate just by chaining filters.

Attachment:
static_code.png
static_code.png [ 287.61 KiB | Viewed 3698 times ]


But if we are practical there is no need to "recreate" glossy Balloon and instead just download the plugin here.
https://github.com/LinuxBeaver/GEGL-glo ... g/releases

It has a simple GUI fun to use!
Attachment:
plugin_GB.png
plugin_GB.png [ 265.43 KiB | Viewed 3698 times ]


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Fri Jan 19, 2024 3:40 am  (#52) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
NEW BUG FOUND WHILE MAKING THIS POST!

I restored the session after Gimp crashed when Glossy Balloon was running and then this happened.

Glossy Balloon double stacked as both itself and another copy of itself named "Editing Filter".

Attachment:
crash_sucks.png
crash_sucks.png [ 254.38 KiB | Viewed 3698 times ]



Attachment:
bug_glossy_balloon_crash.png
bug_glossy_balloon_crash.png [ 336.23 KiB | Viewed 3698 times ]



@CMYK_Student, check out this bug!


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Fri Jan 19, 2024 6:31 am  (#53) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
I compiled Voronoi diagram filter from Gimp 2.99x and got it working on Gimp 2.10 (even though Gimp's team never intended this, it worked) so I might make a plugin of the stained glass text. But it will be really slow.


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Sat Jan 20, 2024 3:07 am  (#54) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Another bug to report

gegl:checkerboard (the filter) crashes the 2.99 build after applying and going to re-edit it.


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Wed Jan 24, 2024 2:20 am  (#55) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
AMAZING NEWS!

A few hours ago CMYK Student's non-destructive build of Gimp merged with Gimp 2.99's master branch. The next release of 2.99 (probably Sunday) will have it.


* earlier, I incorrectly reported the color change bug was fixed. IT STILL EXIST :(


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Wed Jan 24, 2024 3:10 am  (#56) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Two new updates have been found by me in the master branch.

1. Gimp now warns the user that dropshadow and many plugins of mine will not remember GEGL color.

Attachment:
warning_of_bug.png
warning_of_bug.png [ 28.01 KiB | Viewed 3590 times ]

Though it does it in a technical way instead of simple English.
Hopefully in the future it does support gegl:color/color-overlay without needing to change any GEGL filters.


2. Missing GEGL plugins report nothing but it doesn't crash Gimp anymore.


GEGL Effects CE is a non-destructive filter and if I remove its binaries from
/home/contrast/.local/share/gegl-0.4/plug-ins and restart Gimp there is no crash (unlike before) but still no warning either.

Here is GEGL Effects applying and after doing this I put an RGB noise filter below it.
Attachment:
ge_applying.png
ge_applying.png [ 340.17 KiB | Viewed 3590 times ]


Then I removed GEGL Effects binary and restarted Gimp and only RGB noise booted.
Attachment:
missing_filter_correction.png
missing_filter_correction.png [ 221.33 KiB | Viewed 3590 times ]



We are making progress!


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Wed Jan 24, 2024 6:54 am  (#57) 
Offline
GimpChat Member

Joined: Dec 28, 2023
Posts: 67
contrast_ Yes, once Jehan's color space branch is merged (the last roadblock for 2.99.18), the filters will have support for GeglColors automatically. I could add code to handle the conversion from GeglColor to GimpRGB and back, but since GimpRGB will be replaced soon anyway it's counterproductive.

Non-existent filters discarded on load should still give you some warning - I'll look into why they aren't. Also, your checkerboard crash should be fixed. There's likely a regression where some uncommon properties aren't being reloaded on import since we're doing that manually rather than relying on GEGL's API, but we'll try to get that fixed as well.


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Wed Jan 24, 2024 11:10 pm  (#58) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Good to hear. I found a work around by writing GEGL syntax (shown below) just to make up for the fact that it does NOT remember gegl:color

Reduce Color Green (color overlay on grain extract 0.09 opacity)
gimp:layer-mode layer-mode=grain-extract opacity=0.09 blend-space=rgb-perceptual
aux=[ color value=#34ff00 ]


and

Outline Blue
dropshadow x=0 y=0 radius=0.5 grow-radius=5 opacity=1 color=#0083ff


It remembers the syntax html color code atleast.


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Sun Jan 28, 2024 7:04 am  (#59) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
The missing keyboard shortcut bug in Gimp 2.99 never existed publicly (it was unique to my setup)


One of the bugs I reported with Gimp 2.99 was highly unique to my system caused by a GTK3 Global app called "Plotinus". I found out how to exclude Plotinus from running with Gimp 2.99 and the bug resolved. Plotinus is a tool to run command searches on GTK3 apps. For some weird reason Gimp conflicted with it.

I'm just posting this here to let people know the bug is solved and no one has to worry.


Top
 Post subject: Re: CMYK Student's non-destructive Gimp build in use by me.
PostPosted: Mon Jan 29, 2024 1:05 am  (#60) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Gimp vs old commercial software thead
viewtopic.php?f=22&t=20731
I have a thread here where I talk about CMYK Student's Gimp build here, and Gimp in general and how it compares to versions of Photoshop; and other commercial software from the distant past. In this screenshot we can see Photoshop from 1999 using a non-destructive glow filter. Not many filters in 1999 Photoshop were non-destructive but a few like shadow, glow and lighting effects were.

Image
Controversial opinion, I think that Photoshop from 1999 is way better then the final release of Gimp 2.8 from 2017 but loses to 2.10 and up due to the live GEGL previews.

Also in the thread I pointed out that CMYK Student fixed a bug. Gimp can now use filters "Curves, Hue Sat, Color Balance" as re-editable filters even after Gimp is restarted. This bug fix is really exciting! :clap


Top
Post new topic Reply to topic  [ 94 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group