Code Monkey home page Code Monkey logo

gimp_layer_effects_text_styler_plugin_gegl_effects's Introduction

Downloadable binaries for Windows and Linux is here

https://github.com/LinuxBeaver/GEGL-Effects---Layer-Effects-in-Gimp-using-GEGL/releases/

Image Previews

image

image preview

image

GEGL Effects CE by Beaver

GEGL effects CE is a GEGL Gimp plugin that does layer effects in Gimp. It may not be non-destructive yet but you can make presets and get live preview updates of your favorite text styles. GEGL Effects CE ships with and requires three bonus filters, and two hidden operations. You will find that gegl:bevel, gegl:innerglow and gegl:glassovertext are more useful on their own as they have more options in stand alone.

Instructions

If you choose not to use prebuilt binaries. You must compile innerglow, glassovertext, zzstrokebevelimage, shinytext, bevel and gegleffects and put the .so/dll files in gegl-0.4/plug-ins. Then restart Gimp and go to Gimp's GEGL operations. You can effortlessly compile just by clicking on the sh file respectively for Windows (mysys2) or Linux

About CE

This is a stable yet continual updating version of GEGL Effects that can co-exist with a designated old version of GEGL Effects (that I recommend people avoid). Presets from said old stable GEGL Effects will not work with this version . You can find old stable here. https://github.com/LinuxBeaver/GEGL-Effects---Layer-Effects-in-Gimp-using-GEGL/tree/main

You are expected to also download GEGL InnerGlow, GEGL Bevel GEGL Glass On Text and GEGL zzstrokebevelimage GEGL Shiny Text. The plugin will not work correctly without them. In total you should have, gegleffectspending, glassovertext, shinytext, zzstrokebevelimage, bevel and innerglow for this filter to work.

This plugin will work alongside a special legacy version of GEGL Effects as seen here.

image preview

Directories to put binaries and info

.dll is for Windows and .so is for Linux

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

Windows Alt C:\Users\AppData\Local\gegl-0.4\plug-ins

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

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

*note - Windows users may need to create the plug-ins folder if it doesn't exist.

image

Compiling and Installing

Linux

To compile and install you will need the GEGL header files (libgegl-dev on Debian based distributions or gegl on Arch Linux) and meson (meson on most distributions).

meson setup --buildtype=release build
ninja -C build

If you have an older version of gegl you may need to copy to ~/.local/share/gegl-0.3/plug-ins instead (on Ubuntu 18.04 for example).

Windows

The easiest way to compile this project on Windows is by using msys2. Download and install it from here: https://www.msys2.org/

Open a msys2 terminal with C:\msys64\mingw64.exe. Run the following to install required build dependencies:

pacman --noconfirm -S base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-meson mingw-w64-x86_64-gegl

Then build the same way you would on Linux:

meson setup --buildtype=release build
ninja -C build

Quick Guide

0. This is meant to be applied on text layers or raster text/image. It does live previews but does NOT actively apply when typing text. Lots of people are let down by this but that is just the way it is. Though in CMYK Student's build of Gimp it does live preview edit non-destructively.

1. Please right click a text layer and select "layer to image size" before applying this filter. This way it prevents clipping as discussed here. Consider making a back up text layer before applying "layer to image size".
LinuxBeaver/LinuxBeaver#8

2. In default color change will only work correctly if the text is white. This is because it uses a color overlay operation on the 'multiply' blend mode. The multiply blend mode changes colors that are white - but will NOT correctly change any other color. During the Summer of 2023 GEGL Effects got an update that gave it the ability to change blend modes to "Solid Color" to override any color regardless if it is white.

3. You must enable the checkbox to use the outline but it also has an opacity slider that hides it when it reaches 0%.

3b. You must slide opacity of Shadow/Glow up to use Shadow and Glow option. Sliding it down again to 0% opacity hides it as if it were never present.

3c. To use Bevel enable it from the "select blend or enable/disable bevel" from the drop down list.

4. Making X and Y 0.0 on Shadow can make a glow or extra stroke depending on the blur radius. This is the same as Gimp's drop shadow filter. Glow, Shadow and Stroke in Adobe are technically the same thing and my plugins make that even more obvious.

5. Bevel has many blend modes that do many different things, so try them out. It also has a black/image bevel mode that allows a bevel even if the text color is dark or text has an image file overlay. The Black bevel slider is meant for dark colored text and image uploads over text.

6. Inner Glow, Gradient Overlay, Bevel on outline and other things have checkboxes to enable them because if I just made them invisible they would make GEGL Effects more resource intensive.

7. You can use Gimp's rectangle select around the text to speed things up. That way the filter only applies on part of the canvas instead of the entire canvas. Though beware the shadow might clip.

Here are some more pics just to show off various text styles made with the Gimp Plugin GEGL Effects

image preview

image preview

image

image preview

image

image preview

image preview

Inner Glow Bevel and Glass Over text, the stand alones

image preview

image

image

image

Downgrading to older versions of my plugins

If you choose to downgrade GEGL Effects or any of my plugins that has a GEGL Enum List (blend mode switchers) to an earlier version, you must go to /config/GIMP/2.10/filters and delete the saved settings file associate with the plugin. You can find it by searching the plugins name, If this is not done it will keep reporting that a file is corrupt and not allow you to make presets.** MULTIPLE VERSIONS OF ANY OF MY PLUGINS CANNOT CO-EXIST.** Gimp will always select the earliest one. The only exception to this is a build of GEGL Effects I provided where I renamed the ENUM list to make them co-compatible. I recommend you don't downgrade unless you know what you are doing. Downgrading plugins can break .xcf files in 2.99.18+

Special branch only recommended for Gimp 2.10 users.

GEGL Effects CE has a silly testing branch here that includes many major text styling plugins of mine all in one place. It is stable to use but I feel uneasy to make it the default branch as it has a ton of sliders and many other plugins built in. If you want to try it go here. This branch will over ride default GEGL Effects CE and cannot co-exist with it. So it is either normal GEGL Effects CE or the experimental branch of CE not both. This isn't as useful for Gimp 2.99.18+ because of non-destructive editing.

https://github.com/LinuxBeaver/GEGL-Effects---Layer-Effects-in-Gimp-using-GEGL/tree/GEGL-Effects-Continual-Experimental-update

image

gimp_layer_effects_text_styler_plugin_gegl_effects's People

Contributors

linuxbeaver avatar mte90 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gimp_layer_effects_text_styler_plugin_gegl_effects's Issues

How to install this plugin when GIMP is installed as a Flatpak

The installation instructions provided don't work because there is no directory

~/.local/share/gegl-0.4

That's where I'd expect GIMP to operate out of if it was installed from an APT repository. Alas I have GIMP installed via Flatpak and I have no idea where to install Layer-Effects-in-Gimp-using-GEGL compiled files.

Can you expand the installation procedure to encompass Flatpak as well? Or perhaps consider shipping your plugin via Flatpak - better yet.

Don't pay attention to the errors in 2.99.17

It's too problematic a version to pay attention to and try to solve, only 2 of my updated scm's work... and I smile.

Give your computer a rest and distract yourself.

A big Hello!

Organization (SUGGESTION)

These are all INCREDIBLY useful and helpful effects, but with the full pack of all your plugins, this list is HUGE! It's a bit of a pain to hunt through a giant list of text every time I want to use certain effects, so is there a way they can be better organized in GIMP? Maybe having a way to "pin" certain effect to the right-click menu in the layers panel? So say I right-click a layer and I get an option for GEGLeffect in that menu.

Not really an issue with the effects themselves, but would be helpful since the list of effects is so long.

[Linux] Troubles on compiling

So apart the bash script doesn't have any executable permission I see that if you use those you need to do manually enter a specific folder, execute the dedicate bash script and repeat.
Later manually pick the libraries and put manually on the user folder.

This is a design decision? because can be done with pure bash scripts (I can do a PR in case).

Errors on gimp 2.10.32 on debian

So I compiled on my own the libraries to see if this fixed the issues but no.

This on selecting Gegleffects

(gimp:74307): GLib-GObject-CRITICAL **: 11:08:40.612: g_object_bind_property_full: assertion 'g_param_spec_is_valid_name (target_property)' failed

(gimp:74307): GLib-GObject-WARNING **: 11:08:40.612: ../../../gobject/gbinding.c:1273: The source object of type GeglOpgegleffects_c has no property called 'string'
gimp: GEGL-ATTENZIONE: (../gegl/buffer/gegl-tile.c:127):gegl_tile_dup: runtime check failed: (! src->damage)
gimp: GEGL-ATTENZIONE: Error in ../gegl/opencl/gegl-buffer-cl-iterator.c:432@gegl_buffer_cl_iterator_next - invalid command queue
gimp: GEGL-ATTENZIONE: Error in ../gegl/opencl/gegl-buffer-cl-iterator.c:469@gegl_buffer_cl_iterator_next - invalid command queue
gimp: GEGL-ATTENZIONE: Error in ../gegl/opencl/gegl-buffer-cl-iterator.c:432@gegl_buffer_cl_iterator_next - invalid command queue
gimp: GEGL-ATTENZIONE: Error in ../gegl/opencl/gegl-buffer-cl-iterator.c:469@gegl_buffer_cl_iterator_next - invalid command queue
gimp: GEGL-ATTENZIONE: Error in ../gegl/opencl/gegl-buffer-cl-iterator.c:469@gegl_buffer_cl_iterator_next - invalid command queue

I get this trying to change parameters on bevel

I have gegl 04.40.

gimp wont open after pasting GEGL_EFFECTS in its location

Os: Kubuntu 22.04
Gimp: 2.10.32(Flatpak)
after pasting GEGL_EFFECTS folder in the following path :
/home/amgad/.var/app/org.gimp.GIMP/data/gegl-0.4/plug-ins/
then running ./build_linux.sh from the command line
Gimp did not start since that, double clicking it does nothing!
tried to start it from the terminal with this command:
flatpak run org.gimp.GIMP
gives me the following error message:

(gimp-2.10:2): Json-CRITICAL **: 22:44:01.700: json_node_dup_object: assertion 'JSON_NODE_TYPE (node) == JSON_NODE_OBJECT' failed
**
ERROR:../operations/core/json.c:558:json_op_register_type_for_file: assertion failed: (root)
Bail out! ERROR:../operations/core/json.c:558:json_op_register_type_for_file: assertion failed: (root)

so i deleted the GEGL_EFFECTS folder, tried to start gimp, it simply started normally!

can you please give me a hint, what am i doing wrong?!

Please make a GEGL Effects pack

I came to know about your effects from layer effects. But browsing through your github repo, I later learned about other cool effects you make. Manually installing multiple effects in GIMP is very much painful, then again same problem repeats while updating them.

Please, make a GEGL Effects pack with all the effects you built to make them easy to deploy and use; like GMIC.
Or better upstream your effects in GEGL.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.