It is currently Wed May 01, 2024 7:28 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 188 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: Mon Jul 24, 2023 2:27 pm  (#161) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1413
GEGL Effects and GEGL Bevel now have a sharp bevel mode. The stand alone GEGL Bevel version does more options for sharp bevel then the GEGL Effects implementation. Also these plugins now appear in the main menu in Gimp 2.99 under filters> Text Styling

Attachment:
sharp_bevel_champ.png
sharp_bevel_champ.png [ 291.01 KiB | Viewed 24387 times ]


Attachment:
2023-07-22_01-19.png
2023-07-22_01-19.png [ 807.27 KiB | Viewed 24387 times ]


Attachment:
update_promo.png
update_promo.png [ 695.41 KiB | Viewed 24387 times ]




DOWNLOAD HERE

https://github.com/LinuxBeaver/GEGL-Eff ... uly22_2023

Windows Binaries go in
C:\Users\(USERNAME)\AppData\Local\gegl-0.4\plug-ins

Linux Binaries go in
/home/(USERNAME)/.local/share/gegl-0.4/plug-ins

Linux Flatpak binaries go in
/home/(USERNAME)/.var/app/org.gimp.GIMP/data/gegl-0.4/plug-ins

Make sure all old binaries are overwritten with the latest versions.


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Tue Aug 01, 2023 6:52 pm  (#162) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1413
(Instructions above should tell you where the binaries go)

GEGL Effects got a mini update that allows it to mimic "Plastic" in Glass on Text. Its not exactly the same but close.

Bevel Multiply blend mode + Glass on Text is key.

Attachment:
update_august_1st.png
update_august_1st.png [ 169.67 KiB | Viewed 24354 times ]


Attachment:
257669956-3e6dca60-6aac-4618-8255-3296b43d7ff2.png
257669956-3e6dca60-6aac-4618-8255-3296b43d7ff2.png [ 398.04 KiB | Viewed 24353 times ]



Download binaries and code, and download instructions here
https://github.com/LinuxBeaver/GEGL-Eff ... uly22_2023


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Mon Aug 07, 2023 9:29 pm  (#163) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1413
*AUGUST 24 2023 THIS UPDATE IS DONE.

GEGL Effects may be getting an update that allows it to call most major text styling plugins of mine.

The major text styling plugins are

Glossy Balloon

https://github.com/LinuxBeaver/GEGL-glo ... g/releases
Custom Bevel
https://github.com/LinuxBeaver/GEGL-Cus ... l/releases
Clay
https://github.com/LinuxBeaver/GEGL-Clay-Bevel/releases
GMM
https://github.com/LinuxBeaver/Glass_Me ... n/releases
Chrome Text
https://github.com/LinuxBeaver/GEGL---C ... r/releases
Rock Text
https://github.com/LinuxBeaver/GEGL-Stone-Text/releases
Sharp Bevel
https://github.com/LinuxBeaver/GEGL_sha ... n/releases

They will all be part of GEGL Effects. Below are images of a test I did with Glossy Balloon (as part of GEGL Effects)

Image

Image

Here is a short video of a test calling all my major text styling plugins. Notice the list cycling through them?
https://cdn.discordapp.com/attachments/ ... 091326.mp4

All major text styling plugins will still have stand alone repos and the good news is they (the major text stylers) won't even need to be updated to use in the next release of GEGL Effects. Though it is always a good practice to override all old binaries with the latest versions. All major text stylers will keep their individual repos unlike Bevel and Inner Glow; which individual repos merged with GEGL Effects.

Two trade offs will exist though.

1. GEGL Effects will go from 6 binaries to 18 binaries.

2. The plugins inside GEGL Effects will have less options then their stand alone versions and they will all share common sliders.

(users will be able to downgrade if they don't like this)


Last edited by contrast_ on Fri Aug 25, 2023 5:25 pm, edited 1 time in total.

Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Fri Aug 25, 2023 5:23 pm  (#164) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1413
*August 26 update to fix a conflict with gegl_command.py (said update applies to both stable and experimental GEGL Effects)

GEGL Effects has an experimental branch that is stable and crash free but with a ton of new options

It can call my other major text styling plugins.

Clay Being used inside GEGL Effects
Attachment:
preview_3.png
preview_3.png [ 553.06 KiB | Viewed 24255 times ]


Glass Metal Marble being used inside GEGL Effects
Attachment:
preview_4.png
preview_4.png [ 671.76 KiB | Viewed 24255 times ]


Extrusion Long Shadow being used inside GEGL Effects
Attachment:
preview.png
preview.png [ 407.72 KiB | Viewed 24255 times ]




Sharp Bevel being used inside GEGL effects

Image

Glossy Balloon being used inside GEGL Effects
Image


It can also use Rock Text, Custom Bevel and Chrome Text (not pictured here)

IF YOU ALREADY HAVE GEGL EFFECTS OVERWRITE ALL BINARIES

You'll find them in a 8th tab called "Alt Text Styles and Extrusion"

Read instructions to download. It is not in the normal release section.

Source Code of experimental branch
https://github.com/LinuxBeaver/GEGL-Eff ... tal-update

Windows Binaries of experimental branch
https://github.com/LinuxBeaver/GEGL-Eff ... naries.zip

Linux Binaries of experimental branch
https://github.com/LinuxBeaver/GEGL-Eff ... naries.zip




LOCATION TO PUT BINARIES. THEY DO NOT GO IN THE DEFAULT PLUGINS DIRECTORY



Windows

C:\Users\(USERNAME)\AppData\Local\gegl-0.4\plug-ins

Linux

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

Linux (Flatpak includes Chromebook)

/home/(USERNAME)/.var/app/org.gimp.GIMP/data/gegl-0.4/plug-ins


This was all done in one plugin.

Image

Image

Enjoy the experimental update branch and please note that it may forever stay a seperate branch as it is too complicated for novices. I spent over two weeks testing it for crashes and it now has the green light. I'd love to hear feedback.


Last edited by contrast_ on Sat Aug 26, 2023 9:37 am, edited 3 times in total.

Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Fri Aug 25, 2023 9:21 pm  (#165) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 776
Location: SEA - South East Asia
The last one is stunning!
You're good with GEGL, you're very good!

_________________
Patrice


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Fri Aug 25, 2023 10:08 pm  (#166) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2251
Location: Poland
ATTENTION.
Information only for gegl-command.py users.
In Gimp-2.10.34 Win_64bit exactly one gegleffectspending.dll file causes this conflict.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Fri Aug 25, 2023 10:37 pm  (#167) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1413
MareroQ wrote:
ATTENTION.
Information only for gegl-command.py users.
In Gimp-2.10.34 Win_64bit exactly one gegleffectspending.dll file causes this conflict.


Can reproduce on Hue Chroma but not Hue Saturation. I am investigating this.


Top
 Post subject: Re: GEGL Layer Effects and Text Styling filter
PostPosted: Sat Aug 26, 2023 9:32 am  (#168) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1413
MareroQ wrote:
ATTENTION.
Information only for gegl-command.py users.
In Gimp-2.10.34 Win_64bit exactly one gegleffectspending.dll file causes this conflict.


Bug has been solved on both the stable branch and experimental branch.

Attachment:
CULPRIT.png
CULPRIT.png [ 119.48 KiB | Viewed 24224 times ]


THESE TWO LINES WERE THE CULRPIT CAUSING THE CRASH.

UI_META was attached under an ENUM list, that is an illogical statement for GEGL.

Here is the update for the stable branch of GEGL Effects (it doesn't have advance text styler plugins)
https://github.com/LinuxBeaver/GEGL-Eff ... L/releases


Experimental Branch fix (that includes advance text styler plugins

https://github.com/LinuxBeaver/GEGL-Eff ... al-update/


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

Joined: Oct 31, 2020
Posts: 1413
Okay guys lets try something that I've been talking about for over a year. Importing GEGL presets.


Download this text file linked here
Awesome Text

This is where GEGL Effects Continual or any GEGL filter accepts presets
Attachment:
file.png
file.png [ 41.83 KiB | Viewed 24142 times ]


Then feed GEGL Effects Continual the text file via import and you'll get a text style. This is because that text file you gave it was instructions.

Attachment:
effects_import.png
effects_import.png [ 510.48 KiB | Viewed 24142 times ]



For this to work 100% you must be using a version of GEGL Effects released July 2023 and up. If you are using an earlier version, it will still load but the bevel and extra outline may appear different. You can share text file presets on your computer via export or with friends by giving them a text file and assuming they have GEGL Effects continual. This preset is obviously editable and boots up all the parameters of your filter on a custom setting.

Enjoy, I hope this method helps people make better plugins.


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

Joined: Mar 23, 2012
Posts: 7309
Location: Göteborg at last!
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


Top
 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: 1413
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: 1413
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 24309 times ]


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



https://cdn.discordapp.com/attachments/ ... lass_metal
Attachment:
glass_metal.png
glass_metal.png [ 657.92 KiB | Viewed 24309 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: 1413
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: 1413
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 24131 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: 1413
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 24130 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: 1413
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 24115 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 24115 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: 1413
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 24111 times ]


GEGL Effects Inner Glow Tab
Attachment:
ig_tab_gegl_effects.png
ig_tab_gegl_effects.png [ 915.57 KiB | Viewed 24111 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 24111 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: 1413
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 34 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 24099 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 24099 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: 1413
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 23101 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 23116 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: 1413
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 9339 times ]


Top
Post new topic Reply to topic  [ 188 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 Inner Glow (Filter of itself but now ships with GEGL Effects)

37



* Login  



Powered by phpBB3 © phpBB Group