Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help installing Resynthesizer Plug in for Gimp 3.0 in Linux
#1
I hear it works for Windows! What a shame!

If anyone can help me install it on Linux
Reply
#2
(04-18-2025, 04:45 PM)Xxxx Wrote: I hear it works for Windows! What a shame!

If anyone can help me install it on Linux

There is a Windows version, works very well 

For linux... depends on your distro If you have a linux where Gimp 3 installs and that also gives packages such as;

libgimp-3.0-bin Development binaries for the GIMP library
libgimp-3.0-dev Headers and other files for compiling plugins for GIMP

Then it is not difficult to compile. Not perfect but works.

at the moment all I have is ubuntu 22.04 and 24.04 from PPA;s or Debian testing but not others like Fedora

If you are using say a flatpak or the gimp.org appimage you will be out of luck at the moment

Which version of linux are you using ?
Reply
#3
(04-18-2025, 06:17 PM)rich2005 Wrote:
(04-18-2025, 04:45 PM)Xxxx Wrote: I hear it works for Windows! What a shame!

If anyone can help me install it on Linux

There is a Windows version, works very well 

For linux... depends on your distro If you have a linux where Gimp 3 installs and that also gives packages such as;

libgimp-3.0-bin Development binaries for the GIMP library
libgimp-3.0-dev Headers and other files for compiling plugins for GIMP

Then it is not difficult to compile. Not perfect but works.

at the moment all I have is ubuntu 22.04  and 24.04 from PPA;s or Debian testing  but not others like Fedora

If you are using say a flatpak or the gimp.org appimage you will be out of luck at the moment

Which version of linux are you using ?
Using Linux Mint 22.1 Cinnamon the instructions here:

https://discuss.pixls.us/t/resynthesizer...sion/48899

seemed to work for me. I say 'seemed to work' because I have never used Resynthesizer so wasn't sure what to expect. 

The page here:

https://github.com/bootchk/resynthesizer...s-for-GIMP

lists the various components but I don't see most of them. I do get Enhance-Heal Selection... and Enhance-Heal Transparency... but I don't, for example, see Enhance-Uncrop..., Enhance- Sharpen by Synthesis etc.
Reply
#4
(04-19-2025, 04:56 PM)programmer_ceds Wrote: Using Linux Mint 22.1 Cinnamon the instructions here:

https://discuss.pixls.us/t/resynthesizer...sion/48899

seemed to work for me. I say 'seemed to work' because I have never used Resynthesizer so wasn't sure what to expect. 

The page here:

https://github.com/bootchk/resynthesizer...s-for-GIMP

lists the various components but I don't see most of them. I do get Enhance-Heal Selection... and Enhance-Heal Transparency... but I don't, for example, see Enhance-Uncrop..., Enhance- Sharpen by Synthesis etc.

That is a good guide, worth a bookmark.

The resynthesizer plugin goes back to Gimp 2.6 days and is used to generate seamless pattern tiles. There is an element of randomness built into it and it is try-and-see-what-results.

The add-on plugins, originally python 2.7 for Gimp 2.8 / Gimp 2.10 came along later. The script-fu plugin versions for Gimp 3.0 are in the resynthesizer3 branch https://github.com/bootchk/resynthesizer...terPlugins if you want to try them out.
I think they are largely redundant these days, There are better ways to enlarge /sharpen / fill . I just include the two "heal" plugins.

A very quick 60 second demo for anyone interested. https://i.imgur.com/yrWenRu.mp4

This using the Gimp 3.0.2 appimage from the Alternate Packaging section. Resynth is included in the appimage.
Reply
#5
This old post is the top hit for Googling "ubuntu gimp3 resynthesizer" so I'll add my finding here.

It seems that the Resynthesizer is only distributed via Flathub. That's a bit of a pain for Ubuntu and especially Kubuntu because installing GIMP via Flathub pulls in a huge bunch of Gnome core files to store in the flatpak directory, so the installation is huge in size. It's better to get Gimp from Ubuntu's repository.

Trying to compile Resynthesizer was problematic for me with autoconf spitting out cofusing errors, so I gave up on that. I decided that it was best to temporarily setup flatpak to grab Resynthesizer, then uninstall and cleanup flatpak afterwards. Here's how.

* Install flatpak
$ sudo apt install flatpak

* Set Flathub as the source
$ sudo flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo

* Get Resynthesizer, select version 3 for x86_64 when prompted
$ sudo flatpak install flathub org.gimp.GIMP.Plugin.Resynthesizer

* Copy the relevant part to a suitable directory
$ sudo mkdir -p /opt/gimp3-plugins/resynthesizer
$ sudo cp -a /var/lib/flatpak/runtime/org.gimp.GIMP.Plugin.Resynthesizer/x86_64/3/active/* /opt/gimp3-plugins/resynthesizer/

* In GIMP: Edit -> Preferences -> Folders -> Plugins
* Add path: /opt/gimp3-plugins/resynthesizer/files/plug-ins

* Restart Gimp, load an RGB-mode image
* Look for Resynthesizer in: Filters -> Map
* and Heal Selection in: Filters -> Enhance

* If it works then clean up flatpak
$ sudo flatpak uninstall --all
$ sudo apt purge flatpak
$ sudo apt autoremove
$ rm -rf ~/.cache/flatpak ~/.local/share/flatpak
$ sudo rm -rf /root/.local/share/flatpak
$ sudo rm -rf /var/lib/flatpak/*
Reply
#6
@Dave Rove

Well your previous post was six years ago so if still using (k)ubuntu this is not quite true

Quote:...It seems that the Resynthesizer is only distributed via Flathub. That's a bit of a pain for Ubuntu and especially Kubuntu because installing GIMP via Flathub pulls in a huge bunch of Gnome core files to store in the flatpak directory, so the installation is huge in size. It's better to get Gimp from Ubuntu's repository.

The best source for Gimp 3 for (k)ubuntu at the moment is from Panda Jim's PPA

https://launchpad.net/~ubuntuhandbook1/+...ntu/gimp-3

The resynthesizer plugin compiles easily in linux using meson providing you have the dependencies see:

https://github.com/bootchk/resynthesizer...rom-source

For (k)ubuntu 24.04 / Mint 23 I zipped up the plugin here:

https://www.gimp-forum.net/Thread-Gimp3-...favourites
Reply
#7
@rich2005

Thanks for all that.

Seems I got misled by reading the front page of the resynthesizer github, which does only give flathub as the location for a pre-build for linux, so I downloaded the source and read its INSTALL file which explains the Makefile conventions and says nothing about meson. I missed the link on the github page to "build from source" since I'd already found the provided (incorrect) instructions to build from source. Ho hum.
Reply
#8
First, which version of 'buntu are you using ? I am avoiding kubuntu 26.04 at the moment because of Wayland and some of the old stuff I consider essential.

The git hub/ bookchk pages are not very well layed out. As you state you get the impression that make is the way to compile and it is for Gimp 2.10 However for Gimp 3 meson is the way to go. Again for anyone reading the post https://github.com/bootchk/resynthesizer...rom-source.

I might make a 26.04 VM, get Gimp from the PPA and try a compile.

For some sort of inpainting, you are not stuck. There is the gmic_ginp_qt plugin http://www.gmic.eu with several inpainting filters (just that I prefer resynthesizer)
Reply
#9
I am using Kubuntu 26.04, but with X for the moment - because I want the "Redshift" nighttime screen dimmer. ("Night Light" for Wayland, as provided, gives a deep orange screen colour that I don't like - I need to investigate that further.) Other than that, I've managed to find new substitutes for widgets that I was using that didn't get updated for Plasma 6.

Ubuntu 26.04 has Gimp 3.2 in its repository that seems to work fine. The irritation being that Ubuntu quit providing 3rd party plugins for gimp in its repository a few years ago. Still, I did eventually manage to extract the Resynthesizer binary from Flathub, despite them making direct downloads impossible. I have now tested the meson build method which works fine since it gives clear error messages about which dependencies it requires.

And I already had the Gmic linux binary from its homepage.
Reply


Forum Jump: