It is currently Wed May 22, 2024 4:29 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 189 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10  Next
Author Message
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Thu Sep 21, 2023 3:39 pm  (#171) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
Erisian wrote:
Works nicely here. I had to do layer to image size first because the effect was cut off at the text boundary the first time I tried it.

[ Image ]


Yes, if you read the instruction guide for GEGL Effects it expects the user to run layer to image size or rasterize text first.


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Thu Sep 21, 2023 3:51 pm  (#172) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
Image


Try these text files as imports. They make these text styles

https://cdn.discordapp.com/attachments/ ... /indi_text
Attachment:
try_this_one.png
try_this_one.png [ 847.71 KiB | Viewed 36456 times ]


https://cdn.discordapp.com/attachments/ ... 4/gel_text
Attachment:
gel_text.png
gel_text.png [ 594.03 KiB | Viewed 36456 times ]



https://cdn.discordapp.com/attachments/ ... lass_metal
Attachment:
glass_metal.png
glass_metal.png [ 657.92 KiB | Viewed 36456 times ]


https://github.com/LinuxBeaver/Gimp_Lay ... s/releases


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Mon Dec 11, 2023 1:10 pm  (#173) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
I could put my bash plugin that calls AI in a special build of GEGL Effects layer effects engine. It will be located in a 9th tab with a checkbox to run the bash string.
If done users will be able do anything and everything in one plugin.


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Tue Dec 12, 2023 7:16 am  (#174) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
I got the bash plugin working in an unreleased version of GEGL Effects and ran REMBG with it. It looks to me like GEGL is more effective then any other method of Gimp plugin development.

viewtopic.php?f=9&t=20652&start=50


Attachment:
rembg_gegl_effects.png
rembg_gegl_effects.png [ 561.31 KiB | Viewed 36278 times ]


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Tue Dec 12, 2023 7:34 am  (#175) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
Here is another preview of REMBG inside an unreleased version of GEGL Effects with the new GEGL bash plugin. THIS IS SO EXCITING!!!!

Attachment:
rembg_in_gegl_effects.png
rembg_in_gegl_effects.png [ 611.98 KiB | Viewed 36277 times ]


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Tue Dec 12, 2023 3:40 pm  (#176) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
ok, I got the Bash plugin working in GEGL Effects consistently and it appears to be stable but there is one cosmetic bug



Attachment:
AI_in_gegl_effects.png
AI_in_gegl_effects.png [ 1.09 MiB | Viewed 36262 times ]


This text box is in the wrong area and I can't put it where it should be.
Attachment:
teddy.png
teddy.png [ 358.71 KiB | Viewed 36262 times ]


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Tue Dec 12, 2023 5:11 pm  (#177) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
THE BUG HAS BEEN SOLVED AND AI IS WORKING PERFECT HERE

The update appears ready I'll be pushing it in a few hours or maybe the next day on a special branch of GEGL Effects that will only work on non flatpak Linux.

GEGL Effects main tab with outline and shadow
Attachment:
gegl_effects_main.png
gegl_effects_main.png [ 874.19 KiB | Viewed 36258 times ]


GEGL Effects Inner Glow Tab
Attachment:
ig_tab_gegl_effects.png
ig_tab_gegl_effects.png [ 915.57 KiB | Viewed 36258 times ]


GEGL Effects Bash running REMBG AI background removal
Attachment:
linux_only_gegl_effects_bash.png
linux_only_gegl_effects_bash.png [ 905.23 KiB | Viewed 36258 times ]



This version will not be able to co-exist with normal GEGL Effects CE, meaning if you already have GEGL Effects CE installed it will overwrite it.


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Tue Dec 12, 2023 9:13 pm  (#178) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
GEGL Effects with AI integration from Bash. Linux Only version download here
You will find bash commands in the 9th tab under "Run a bash command" This is not the official Linux branch for GEGL Effects on Github.

Includes Source Code and Binaries
Attachment:
AI_BASH_GEGL_EFFECTS_Linux_only_binaries_code.zip [512.86 KiB]
Downloaded 57 times


Location to put binaries

/home/(USERNAME)/.local/share/gegl-0.4/plug-ins


If you already have these binaries overwrite all of them with the latest version. Then Restart Gimp and go to GEGL operation drop down list and look for GEGL Effects Continual
--

This only took a few seconds.

Attachment:
split_view_effects.png
split_view_effects.png [ 636.26 KiB | Viewed 36246 times ]


and it can save and apply the same setting on anything else.

But it looks like in this case the inner glow is to expansive on the turtle, so users will have to change the original setting.


Attachment:
preset_gegl.png
preset_gegl.png [ 686.5 KiB | Viewed 36246 times ]


If you compile this on Windows it will not work and just rapidly open cmd.exe windows over and over. In fact it will be just like the previous release of GEGL Effects but with a non working bash tool. If you use this on Flatpak or SNAP linux it will not work either as it will not be able to talk to bash.

Enjoy. Hopefully in the future we can get this working on Windows


Last edited by contrast_ on Sat Dec 30, 2023 5:59 pm, edited 1 time in total.

Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Sun Dec 17, 2023 12:06 am  (#179) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
Basic Guide on how this bash plugin works

Attachment:
290977616-cf82c7b2-4ff1-42ea-bff5-6ba1b248ce21.png
290977616-cf82c7b2-4ff1-42ea-bff5-6ba1b248ce21.png [ 533.34 KiB | Viewed 35248 times ]


1. This plugin has two versions, stand alone mode and GEGL Effects special build. The GEGL Effects is the one that ships with a layer effects engine and requires switching tabs to "run bash command on Linux" and then flipping a tab here.
Attachment:
enable_to_load.png
enable_to_load.png [ 6.64 KiB | Viewed 35263 times ]


2. This bash plugin within GEGL Effects is only a subsection in my layer effects/text styling engine. The full plugin does much more then just bash as its primary focus is text styling effects not bash.

3. The bash plugin exports the content of the layer as (/tmp/in.png) in the /tmp/ directory on Linux

A bash command with (tmp/in.png) and (tmp/out.png) in it like
rembg /tmp/in.png -o /tmp/out.png

works because REMBG is calling the layer file that GEGL exported and GEGL is instructed to load /tmp/out.png

/tmp/in.png is the layer image file exported and /tmp/out.png is the file GEGL is instructed to load.

4. The checkbox when pressed will freeze Gimp if done correctly, then it has to be unchecked within a few seconds. If it is not unchecked after checking the command will work but take several minutes to load. The checkbox makes things much faster.

5. The GEGL Box below the bash box is totally optional and not required for the filter to work, it is meant to add GEGL syntax after the bash command.

6. The default command in the bash box is REMBG that assumes REMBG is installed on the users system.

7. Here is a list of tools I call with bash

**REMBG**
https://pypi.org/project/rembg/

**GFPGAN**
https://github.com/TencentARC/GFPGAN/

**REALESRGAN**
https://github.com/xinntao/Real-ESRGAN

**GMIC** (remember the built in AI's GMIC has they can be used too)
https://gmic.eu/

**Image Magick**
https://imagemagick.org/


so yeah, if you can call bash with these tools using /tmp/in.png as the input and /tmp/out.png as the final output that is all you need to use this plugin.


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Sat Dec 23, 2023 4:35 pm  (#180) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
New Discovery. REMBG can be ran just by typing in grembg in the box due to a wrapper trick.

On Linux save this as grembg inside /home/username/.local/bin
#!/bin/bash

IN=/tmp/in.png
OUT=/tmp/out.png

COMMAND="rembg $IN -o $OUT "
$COMMAND 1>&2

exec cat $OUT


Then just type in grembg in the bashbox and run command by checking the box on and off.

Attachment:
grembg.png
grembg.png [ 611.32 KiB | Viewed 21486 times ]


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Sat Dec 23, 2023 4:41 pm  (#181) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
Thread hit a new page so now comes the usual.

GEGL Effects the text styling plugin in Gimp that also outlines images.
Attachment:
effects_example.png
effects_example.png [ 452.09 KiB | Viewed 5124 times ]


Attachment:
pasted_image011.png
pasted_image011.png [ 322.91 KiB | Viewed 5124 times ]


AI GEGL Effects download is here. It calls AI through bash
download/file.php?id=70513

Normal GEGL Effects without AI is here
https://github.com/LinuxBeaver/GEGL-Eff ... L/releases


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Wed Dec 27, 2023 1:53 am  (#182) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
It has come to my attention that people are mass downloading old versions of GEGL Effects from May-June 2022 on Gimpchat. These versions do not have AI or half the features the newer versions have. Infact that was back when Inner Glow had a nasty bug that created a border sometimes or even before Inner Glow existed.


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Sat Dec 30, 2023 5:33 pm  (#183) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
This bash plugin was not working for a lot of people because the REMBG command changed recently or at least in the past year. months. Here is a list of both rembg commands.

Latest REMBG is
rembg i /tmp/in.png /tmp/out.png


2022 REMBG is
rembg /tmp/in.png -o /tmp/out.png


The bash plugin both stand alone and GEGL Effects version updated today. To contain the newest line of code for REMBG in default. This does not count as a new version release.


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Sun Dec 31, 2023 4:23 pm  (#184) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
We now have a Flatpak build of GEGL Effects with bash AI but it requires manually editing two files.

viewtopic.php?f=9&t=20652&p=286240#p286240


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Mon Jan 01, 2024 3:49 pm  (#185) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
viewtopic.php?f=9&t=20691

This thread shows GEGL Effects doing non-destructive editing in CMYK Student's special Gimp build

Attachment:
editable_fun.png
editable_fun.png [ 1016.44 KiB | Viewed 4990 times ]


Attachment:
effects_NDE.png
effects_NDE.png [ 1.11 MiB | Viewed 4990 times ]


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Wed Jan 03, 2024 2:22 pm  (#186) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
The build all .sh files for Windows and Linux updated. It apparently was broken for at least several months. Now it is very easy to compile GEGL Effects on Windows and Linux. But remember compiling is optional as prebuilt binaries exist.

Attachment:
build_all_fun.png
build_all_fun.png [ 57.84 KiB | Viewed 4963 times ]


If you are on Windows with MySys2 the folder would be Windows_Binaries


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Sun Feb 11, 2024 11:14 am  (#187) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
The AI version of this plugin is getting a very tiny update in order to prevent a memory leak on the Cinnamon Desktop.

The line
#define geglwithanything \
" GEGL Box after Bash   "


was given # in front of it.

#define geglwithanything \
" #GEGL Box after Bash   "



Non-AI versions of this plugin have not updated. This change is completely non-noticeable.


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Wed Mar 13, 2024 3:13 pm  (#188) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
The AI through bash version of GEGL Effects and advance text styling version of GEGL Effects for now are discontinued, as they only are useful on Gimp 2.10. If you want AI in Gimp just use this plugin stand alone here.
https://github.com/LinuxBeaver/AI_in_Gi ... ling_bash/


March 11 2024 Stable is the latest build of GEGL Effects that no longer clips in Gimp 2.99.18+ is here.

https://github.com/LinuxBeaver/GEGL-Eff ... L/releases

Attachment:
311592243-377f2a12-1858-4266-b76d-f6e261393083.png
311592243-377f2a12-1858-4266-b76d-f6e261393083.png [ 386.31 KiB | Viewed 3165 times ]


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Tue May 07, 2024 5:45 pm  (#189) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1423
GEGL Effects May 4th 2024 update is released. It is slightly slower then previous releases but it finally solved the color update clip bug without a checkbox or color delay bug. Ready Binaries and code for Windows and Linux are here

https://github.com/LinuxBeaver/Gimp_Lay ... n/releases

This release has no noticeable changes but is a HUGE UPDATE for GIMP 2.99.19/GIMP 3 RC1 users that deal with clipping with my plugins.


Top
Post new topic Reply to topic  [ 189 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) GEGL Text Styling effects on individual Gimp layers

11

No new posts Attachment(s) GEGL STONE TEXT STYLING FILTER

21

No new posts Attachment(s) GEGL Neon Border text styling filter.

15

No new posts Attachment(s) New GEGL Glossy Balloon Text styling filter.

23

No new posts Attachment(s) GEGL Bevel (filter of its own but now ships with GEGL Effects)

32



* Login  



Powered by phpBB3 © phpBB Group