It is currently Thu Jun 04, 2026 12:12 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 61 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Pixelitor rocks !
PostPosted: Sat Dec 09, 2023 2:25 pm  (#21) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
I waited over two years for this literally.

Pixelitor now has an outline filter because it calls GMICs.

Attachment:
stroke_pixelitor_gmic.png
stroke_pixelitor_gmic.png [ 522.37 KiB | Viewed 43406 times ]


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Thu Dec 14, 2023 12:31 am  (#22) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
GMIC filters can now be made smart objects in the latest Pixelitor build. They also added a GMIC filter called "vibrace" that contest Pixelitor's default "Hue Saturation" filter when it comes to Saturation. Pixelitor has a bad saturation tool

Pixelitor's native saturation filter.
Attachment:
saturation_native.png
saturation_native.png [ 1.6 MiB | Viewed 42480 times ]


Pixelitor calling GMIC's vibrance saturation filter.
Attachment:
vibrance_pixelitor.png
vibrance_pixelitor.png [ 1.1 MiB | Viewed 42480 times ]


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Wed Dec 20, 2023 3:29 pm  (#23) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
Pixelitor is going to get a tool similar to GEGL Bash where it can run system commands through a string. The only difference is it will work on both Windows and Linux and it will be even more complicated

Expect Pixelitor to call GEGL, Image Magick, AI or anything on both Windows and Linux soon.


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Wed Dec 20, 2023 8:37 pm  (#24) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 14011
Location: Native to NYC living in Arizona, Gimp 2.8 - 3.0, Win 11 PC.
contrast_ wrote:
Pixelitor is going to get a tool similar to GEGL Bash where it can run system commands through a string. The only difference is it will work on both Windows and Linux and it will be even more complicated

Expect Pixelitor to call GEGL, Image Magick, AI or anything on both Windows and Linux soon.

Very interesting indeed.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Fri Dec 22, 2023 5:40 pm  (#25) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
Guide to use GEGL in Pixelitor on Linux

Includes mandatory bash file pgegl. This will NOT WORK ON WINDOWS.

https://github.com/LinuxBeaver/Use_GEGL ... _on_Linux/

--everything below is original post--

GEGL BEING USED NON DESTRUCTIVELY IN PIXELITOR

The latest build of Pixelitor on Github contains a new filter called “command line” that allows system inputs just like GEGL Bash. Which means GEGL is now in Pixelitor and we can run GEGL filters non-destructively in it, but it is syntax only and the pgegl.sh file I supply only works on Linux. Though in theory GEGL can work on both Windows and Linux using this tool but I don’t know how to install GEGL on Windows. Pixelitor’s dev got Image Magick with it running on Windows.

Attachment:
gmic_and_pixelitor.png
gmic_and_pixelitor.png [ 1018.22 KiB | Viewed 41186 times ]


The GEGL being called in Pixelitor is NOT the GEGL installed in Gimp. Which means it cannot run (gimp:) namespace GEGL filters. Its location is

/usr/bin/gegl

It is installed in the manner of “sudo apt install gegl” or “sudo dnf install gegl”. You all get the idea of how Linux installs stuff.
GEGL filters in Pixelitor when used as smart objects or adjustment layers are default named “Command Line” as that is the filters name but users can change the name to the name of a GEGL filter just by clicking the layer and typing in whatever. GEGL filters are slow here and they work through Pixelitor writing /tmp/input.png and /tmp/output.png to the disk.

Lastly, One of the biggest concerns here is that most people don’t know how to write GEGL syntax like me. But now that Pixelitor can use GEGL Syntax, Image Magick, GMIC and other things via a CLI you all should consider learning.


How to call GEGL on Linux in Pixelitor

1. Build the latest Pixelitor from source here (requires Java 22)
https://github.com/lbalazscs/Pixelitor

2. Save this in /home/username/.local/bin/ name it pgegl

#!/bin/bash

IN=/tmp/input.png
OUT=/tmp/output.png

cat > $IN

COMMAND="gegl -i $IN -o $OUT -- $@"
$COMMAND 1>&2

exec cat $OUT


3. Enable Pixelitor's experimental features, restart Pixelitor then open Pixelitor's command line filter in Filters>Other>Command line and run any GEGL syntax such as saturation scale=1.2 bloom strength=10


For a bonus
Here is how to call Image Magick on Windows

"C:\Program Files\ImageMagick-7.0.10-Q16-HDRI\magick.exe"
convert png:-
-rotate 180
-canny 0x1+10%+30%
png:-



If someone compiles a GEGL binary on Windows we can get it working on Windows. I'll be back soon when I figure out how to call REMBG.


Attachments:
pgegl_hope.png
pgegl_hope.png [ 162.37 KiB | Viewed 41186 times ]


Last edited by contrast_ on Sat Feb 24, 2024 11:13 pm, edited 1 time in total.
Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Fri Dec 22, 2023 5:50 pm  (#26) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
My Plugins work in Pixelitor as an adjustment layer.

pgegl

lb:glossy-balloon hue=44
softglow brightness=0.13
dropshadow x=0 y=3 opacity=1 radius=4


Attachment:
plugin_work.png
plugin_work.png [ 278.8 KiB | Viewed 41186 times ]


Requires
https://github.com/LinuxBeaver/GEGL-glo ... xt-styling


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Fri Dec 22, 2023 9:01 pm  (#27) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
Here is another example of GEGL Syntax in Pixelitor non-destructively with a layer mask to see a before and after preview.
Attachment:
gegl_in_pixelitor.png
gegl_in_pixelitor.png [ 1.79 MiB | Viewed 41158 times ]


Syntax here
pgegl

id=1 screen
aux=[ ref=1 saturation scale=1.3 ]
saturation scale=1.1
levels in-high=0.6 out-high=0.9
id=2 plus aux=[ ref=2 opacity value=0.1 ]
crop


Btw, it appears that the command
crop
AKA gegl:crop should always be at the end of the GEGL syntax in Pixelitor as if not the original image file will move diagonal. I don't know why this happens, it does not happen in Gimp's GEGL Graph but for some reason it does happen here in Pixelitor but the crop command at the end solves it.

GEGL Drop Shadows With Crop (proper)
Attachment:
vlcsnap-2023-12-22-20h59m02s054.png
vlcsnap-2023-12-22-20h59m02s054.png [ 674.17 KiB | Viewed 41158 times ]


GEGL Drop Shadows Without Crop (inproper)

Attachment:
vlcsnap-2023-12-22-20h58m57s027.png
vlcsnap-2023-12-22-20h58m57s027.png [ 676.05 KiB | Viewed 41158 times ]


Almost all GEGL syntax wrote in Pixelitor should end with crop or it will move the image diagonal. I don't know why it needs to be this way but it does. In Gimp's GEGL Graph this very rarely but in Pixelitor it happens all the time.


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Fri Dec 22, 2023 9:20 pm  (#28) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
I wrote syntax like my layer effects engine (GEGL Effects) but its in Pixelitor.

Attachment:
gegl_effects_in_pixelitor.png
gegl_effects_in_pixelitor.png [ 151.98 KiB | Viewed 41157 times ]



This syntax requires my Gimp plugin GEGL Bevel which can be downloaded here.
https://github.com/LinuxBeaver/GEGL-Eff ... /releases/
pgegl

color-overlay value=#ffb900
id=0
src-in aux=[ ref=0
id=1 overlay aux=[ ref=1 lb:bevel depth=3 ]
]
dropshadow x=0 y=0 radius=0.5
grow-radius=10 opacity=1
dropshadow x=2 y=5 opacity=0.7 color=black
radius=3
crop


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Sat Dec 23, 2023 1:02 pm  (#29) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
I got REMBG working in Pixelitor just by typing prembg in the command line but it still requires a bash file in
/home/username/.local/bin

Attachment:
duck_pixelitor.png
duck_pixelitor.png [ 620.03 KiB | Viewed 41050 times ]


Attachment:
duck_removed_pixelitor.png
duck_removed_pixelitor.png [ 407.37 KiB | Viewed 41050 times ]


How to use REMBG in Pixelitor

Follow these instructions if you don't have the latest dev build of Pixelitor
viewtopic.php?f=22&t=3247&start=20#p286084

then
save this file as prembg inside /home/username/.local/bin
#!/bin/bash

IN=/tmp/input.png
OUT=/tmp/output.png

cat > $IN

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

exec cat $OUT


Now restart Pixelitor, open an image and select the "command line" filter and type prembg and press run.

After rembg you can run GEGL syntax to remove dark shadow artifact around edges by running another command line filter

Remove outline artifact created by rembg

pgegl id=1 dst-in aux=[ ref=1 component-extract component=alpha
levels in-low=0.7
rgb-clip
color-to-alpha color=#000000]


Last edited by contrast_ on Sat Dec 23, 2023 1:20 pm, edited 1 time in total.

Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Sat Dec 23, 2023 1:14 pm  (#30) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
I made a special version of my SSG GEGL plugin so other GEGL plugin "ringed bevel" that it depends on would work in Pixeltior.
It would not work originally because default SSG uses (gimp:) namespace operations and system GEGL can't use that. I can't post this syntax because it has a special build of SSG I haven't made public.


Here is the plugin in Pixelitor mixed with GMIC and Pixelitor filters.
Attachment:
ringed_bevel.png
ringed_bevel.png [ 616.44 KiB | Viewed 41048 times ]


If you want to use the normal ringed bevel filter in Gimp go here.
https://github.com/LinuxBeaver/Gimp_Rin ... /releases/


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Sat Dec 23, 2023 5:28 pm  (#31) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
I am attempting to give GEGL filters a GUI in Pixeitor. IE the first Pixelitor plugins calling GEGL filters from a file in /home/username/.local/bin

I plan to port GEGL saturation, dropshadow, maze, spiral, emboss, native filters and my sharp bevel, custom bevel, ringed bevel, inner glow, and glossy balloon as plugins. In total ten GEGL filters will have GUI's in Pixelitor. Five natives and five plugins.

Regarding GEGL Effects in Pixelitor. One damning thing is that lb:bevel (GEGL Bevel) doesn't work proper in Pixelitor due to blend modes in Pixelitor not making non blending content transparent. That means a GEGL Effects port to Pixelitor would work but be hideous when running bevel.

Attachment:
bevel_fail.png
bevel_fail.png [ 227.31 KiB | Viewed 30240 times ]



So yeah... I am porting GEGL plugins to another application entirely and others have not even made a single GEGL plugin in Gimp.


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Sat Dec 23, 2023 5:39 pm  (#32) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
I am doing everything in my power to make sure by tonight I get GEGL saturation running in a GUI in Pixelitor. Its only one slider so it should be easy, with a live preview and all.


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Tue Dec 26, 2023 12:34 am  (#33) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
Pixelitor has a bug where the command line does not remember "#" characters

so a correct GEGL filter that runs.

lb:innerglow value2=#00e5ff

will work until Pixelitor is restarted. But when reopening the file it will be

lb:innerglow value2=00e5ff
This is an invalid command. And due to the invalid command the color will then turn into a default aqua blue until a # is added back at the start.

This bug was directly reported to Pixelitor's dev

SEVERAL HOURS LATER
Bug was fixed at the cost of breaking all presets of GEGL and GMIC command line filters.


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Thu Dec 28, 2023 3:28 pm  (#34) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
It turns out I am going to need to spend weeks studying If I want to make a GUI for GEGL filters in Pixelitor. Its a task I'm up too. I have to learn Java to do it.

In the meantime here is more GEGL syntax in Pixelitor and this time it is used as an Adjustment layer inside a layer group. It is fun seeing my Custom Bevel plugin inside Pixelitor. Requires https://github.com/LinuxBeaver/GEGL-Custom
-Bevel/releases
Attachment:
pixelitor_GEGL_Fun.png
pixelitor_GEGL_Fun.png [ 741.6 KiB | Viewed 29722 times ]


pgegl

color-overlay value=#009cff

custom-bevel blendmode=ColorDodge
elevation=20


dropshadow x=0 y=0 radius=0
grow-radius=2 color=white opacity=1


dropshadow x=0 y=0 radius=0.5
grow-radius=6 color=black opacity=1.2

dropshadow x=0 y=0 radius=7 opacity=0.8

crop


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Thu Jan 04, 2024 12:25 pm  (#35) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
Pixelitor has smear paint text when using GMIC and GEGL filters together in it. The only native Pixelitor filter here is drop shadow.

Attachment:
smear_paint_study.png
smear_paint_study.png [ 251.21 KiB | Viewed 29264 times ]


Remember GEGL and GMIC do work in Pixelitor but GEGL is 100% command line based and only like 10-12 GMIC filters have a GUI as of 1-4-2024, but the good news is that Gimp 2.99.18 will be released this Sunday with a gegl.exe included for Windows. After that a new build of Pixelitor will debut and users will link the gegl.exe directory to use GEGL filters in Pixelitor with a GUI.

btw this is editable but slow as heck
Attachment:
editable_smear_text.png
editable_smear_text.png [ 198.82 KiB | Viewed 29263 times ]


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Fri Jan 05, 2024 3:08 pm  (#36) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
GMIC filter "Crease" and my Plugin "Custom Bevel" ran together in Pixelitor.

Attachment:
crease_text_pixelitor.png
crease_text_pixelitor.png [ 232.66 KiB | Viewed 29172 times ]


Edit the text inside the Smart Object and then load the previous composition
Attachment:
edit_here_pixelitor.png
edit_here_pixelitor.png [ 78.11 KiB | Viewed 29172 times ]


Composition updates
Attachment:
editable.png
editable.png [ 238.7 KiB | Viewed 29172 times ]


This filter also has "Curves" and "Drop Shadow" which are native Pixelitor filters. Everything here is non-destructive.


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Fri Jan 05, 2024 6:58 pm  (#37) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
https://github.com/LinuxBeaver/GEGL-glo ... g/releases

This is my Glossy Balloon plugin in Pixelitor chained with native Pixelitor filters "Weave" and "Color Wheel (by hue)" .
I am taking advantage of Pixelitor's non-destructive filters and clone layers. It is editable but very slow to update.

This is the default composition with many smart objects (which are non-destructive filters that make a back up of the original composition) and clone layers.
Attachment:
weave_glossy_balloon_plugin.png
weave_glossy_balloon_plugin.png [ 1.01 MiB | Viewed 29159 times ]


We open a "smart object" in pixelitor and find the text, then edit the text in said smart object composition, and then we go back to the original composition to see the text update.

Attachment:
2024-01-05_18-49.png
2024-01-05_18-49.png [ 116.93 KiB | Viewed 29159 times ]


Attachment:
pixelitor_editable_weave_glossy_balloon.png
pixelitor_editable_weave_glossy_balloon.png [ 935.39 KiB | Viewed 29159 times ]



Isn't it interesting to see Pixelitor having a far more non-destructive workflow then Gimp. Keep in mind Pixelitor has had non-destructive editing for over two years and this is nothing new (for me anyway).


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Fri Jan 05, 2024 7:18 pm  (#38) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
Here is Pixelitor's "Weave" filter on text with GEGL Dropshadow (for the outline) and Pixelitor's native dropshadow for the shadow.

Its funny to see gegl:dropshadow and Pixelitor's native drop shadow together. Pixelitor's drop shadow is not capable of making an outline like GEGL does.

Attachment:
native_weave_GEGL_dropshadow.png
native_weave_GEGL_dropshadow.png [ 95.91 KiB | Viewed 29154 times ]


and yes it (like everything in Pixelitor) is editable.

Attachment:
pasted_image105.png
pasted_image105.png [ 107.08 KiB | Viewed 29154 times ]


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Sun Jan 07, 2024 2:49 pm  (#39) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
With the help of Pixelitor's dev I ported GMIC's "Huffman Glitches" filter to Pixelitor as a GUI, but it is only local on my machine and not part of the official branch.

Attachment:
port_GMIC_to_Pixelitor.png
port_GMIC_to_Pixelitor.png [ 696.55 KiB | Viewed 28598 times ]


Top
 Post subject: Re: Pixelitor rocks !
PostPosted: Sun Jan 07, 2024 3:04 pm  (#40) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2010
Here is another preview of "huffman glitches" from GMIC chained with native Pixelitor filters.

Attachment:
huffman_2.png
huffman_2.png [ 1.12 MiB | Viewed 28584 times ]


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

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group