05-13-2025, 09:09 PM
(05-07-2025, 12:20 PM)n4mwd Wrote:(05-06-2025, 11:33 PM)n4mwd Wrote:(05-06-2025, 02:14 PM)rich2005 Wrote: Work-arounds,
A flatpak Gimp 2.10 includes python 2.7
There are appimage add-ons for ubuntu (and debian) linux
There is this appimage which includes python
https://github.com/ivan-hc/GIMP-appimage...ous-hybrid
I went back to a windows machine that is running gimp 2.10 and gmic. While it has python3+, it still shows python-fu in the menu. So I copied the .py file to the directory and the plug in now works. Unfortunately, my can photos have rounded tops and bottoms which are a problem for the plug in. The plug in worked except for that. I'm currently trying to use cage transform to straighten it out. It is an old photo that I don't have any control over how it was shot.
Anyhow, thanks for the help.
Just a quick update. On the windows machine, it is definitely running Python 3+ when I run it from the dos box, but when I go into GIMP and start the python-fu console, it clearly shows Python 2.7. Just a guess, but I suspect that windows GIMP has python 2.7 embedded in the installation.
As far as this plug in, it works as described, but it falls short in the fact that close up photos have rounded tops and bottoms which mess everything up. In my case, I don't have the original object, so photographing it properly is not an option. If I did have it, I would use the scanner trick. That is, I roll the can across the flatbed scanner at the same speed as the scan head. It takes a lot of timing to get it right, but I have done it before and it works great.
Another technique is to roll/spin the can in front of a smartphone in panorama mode (and maybe even in front of a camera, the latest Canon mirrorless have such a feature).