Tue Dec 12, 2023 4:56 pm
Tue Dec 12, 2023 8:06 pm
/home/(USERNAME)/.local/share/gegl-0.4/plug-ins
Tue Dec 12, 2023 8:10 pm
Tue Dec 12, 2023 8:30 pm
Tue Dec 12, 2023 8:31 pm
mackenzieh wrote:When will a windows version be available?
Wed Dec 13, 2023 1:03 am
Wed Dec 13, 2023 6:33 pm
Sat Dec 16, 2023 2:42 am
Sat Dec 30, 2023 5:32 pm
rembg i /tmp/in.png /tmp/out.png
rembg /tmp/in.png -o /tmp/out.png
Sun Dec 31, 2023 4:34 am
sudo dnf install flatpak-spawn
sudo apt install flatpak-spawn
flatpak-spawn --host rembg i /home/john/eggs/in.png /home/john/eggs/out.png
Sun Dec 31, 2023 6:11 am
contrast_ wrote: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
- Code:
rembg i /tmp/in.png /tmp/out.png
2022 REMBG is
- Code:
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.
rembg i /tmp/in.png /tmp/out.png
Sun Dec 31, 2023 2:41 pm
racer-x wrote:contrast_ wrote: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
- Code:
rembg i /tmp/in.png /tmp/out.png
2022 REMBG is
- Code:
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.
It works here with:
- Code:
rembg i /tmp/in.png /tmp/out.png
It is extremely slow and had to wait a long time to notice it was working. At least this is a third option. Using command line or JamesH plugin is at least 50 times faster. JamesH also includes Layer Mask to help fine tune.
Thanks for this tool contrast.
Thu Jan 04, 2024 7:27 pm
gegl -i /tmp/in.png -o /tmp/outgegl.png -- gegl:gegl string=" color-overlay value=#ff0000 crop " && sleep 0.5 && gmic /tmp/outgegl.png output /tmp/outgegl.webp && gmic /tmp/outgegl.webp fx_blocks3d 128,0,6.86,1.5,0,10.08,45,50.1818,54.9091,0,-50,-100,0.5,0.7,1,1,0,0,0,128 -o /tmp/out.png
src aux=[ layer src=/tmp/out.png ]
saturation scale=2.0
translate y=-166.5
median-blur radius=0
id=1 gimp:layer-mode layer-mode=overlay opacity=0.73 aux=[ ref=1 emboss elevation=0 ]
median-blur radius=0
id=2 gimp:layer-mode layer-mode=hardlight opacity=1 composite-mode=auto aux=[ ref=2 noise-solid x-size=2 y-size=8 seed=344 color-to-alpha color=white opacity value=1.06 ]
levels in-high=0.8
bloom strength=220
id=3 gimp:layer-mode layer-mode=addition opacity=0.24 aux=[ ref=3 edge amount=4 ]
id=4 dst-over aux=[ ref=4 color-overlay value=black cubism tile-size=14
gaussian-blur std-dev-x=17 std-dev-y=17 opacity value=0.4 ]
dst-over aux=[ ref=4 color-overlay value=black
translate y=08 gaussian-blur std-dev-x=17 std-dev-y=17 opacity value=0.61 ]
median-blur radius=0
levels in-low=0.02
hue-chroma hue=-93 lightness=3
median-blur radius=0
unsharp-mask scale=1.1
Fri Jan 05, 2024 2:46 pm
Mon Jan 08, 2024 4:17 am
Mon Jan 08, 2024 12:40 pm
Tue Jan 16, 2024 4:17 pm
flatpak-spawn --host bash -c '
gmic /home/contrast/tmp/in.png output /home/contrast/tmp/out3.webp && gmic -i /home/contrast/tmp/out3.webp gcd_jpeg_smooth 1,1,0,0 -o /home/contrast/tmp/out2.png && source /home/contrast/Applications/mc/etc/profile.d/conda.sh && conda activate base && cd /home/contrast/Applications/GFPGAN/ && python inference_gfpgan.py -i /home/contrast/tmp/out2.png -o /home/contrast/tmp/face -v 1.3 -s 1 && mv /home/contrast/tmp/face/restored_imgs/out2.png /home/contrast/tmp/out.png
'
Tue Jan 16, 2024 7:08 pm
flatpak-spawn --host bash -c '
gmic /home/contrast/tmp/in.png output /home/contrast/tmp/out3.webp && gmic -i /home/contrast/tmp/out3.webp gcd_jpeg_smooth 1,1,0,0 -o /home/contrast/tmp/out2.png && source /home/contrast/Applications/mc/etc/profile.d/conda.sh && conda activate base && cd /home/contrast/Applications/GFPGAN/ && python inference_gfpgan.py -i /home/contrast/tmp/out2.png -o /home/contrast/tmp/face -v 1.3 -s 1 && mv /home/contrast/tmp/face/restored_imgs/out2.png /home/contrast/tmp/out.png
'
id=1 gimp:layer-mode layer-mode=normal opacity=0.35 aux=[ ref=1 layer src=/home/contrast/tmp/out2.png ]
saturation scale=1.13
gmic /home/contrast/tmp/in.png output /home/contrast/tmp/out3.webp && gmic -i /home/contrast/tmp/out3.webp gcd_jpeg_smooth 1,1,0,0 -o /home/contrast/tmp/out2.png
Sun Feb 18, 2024 10:00 am
convert /tmp/in.png +profile icm \
-profile /home/USERNAME/.local/share/icc/rgb_profile.icc -profile /home/username/dir/cmyk.icm /tmp/out.tiff
src aux=[ layer src=/tmp/out.tiff ]
Sun Feb 18, 2024 10:04 am