M: I have old photos that were scanned in years ago and need to be cleaned up, focused, and basically improved using any now available filters or AI aid, I’m using Linux, I have gimp installed and would prefer not to use anything but freeware. Can you help me out?
G: TL;DR: Yes. Use GIMP with free plugins like G'MIC and external tools like Real-ESRGAN or Waifu2x (Linux-compatible) for upscaling and cleanup. It’s all free and works on Linux.
Here’s a streamlined path using free and Linux-friendly tools:
Use this as your base editor. Add filters and plugins to enhance it.
G’MIC (GREYC's Magic for Image Computing) is an all-in-one powerhouse for photo enhancement.
Install on Linux:
sudo apt install gmic gimp-gmicUsage:
Filters > G'MIC-Qt.Great for AI enhancement, especially bringing back lost detail.
Install from GitHub: https://github.com/xinntao/Real-ESRGAN
Basic usage:
python inference_realesrgan.py -n RealESRGAN_x4plus -i input.jpgUse -n RealESRGAN_x4plus_anime_6B for cleaner lines
on sketches/photos with artifacts.
Despite the name, it works well on old scans.
sudo apt install waifu2x-converter-cpp
waifu2x-converter-cpp -i input.jpg -o output.png --noise-level 2 --scale-ratio 2Want a one-command batch cleanup chain? I can help script that too.
M: Please repeat for Fedora, not Ubuntu
G: Sure — here’s the Fedora-specific setup for cleaning up old scanned photos using only free tools:
You're good here — it’s already installed.
sudo dnf install gmic-gimpIf it's missing from your repos (some Fedora spins don't have it), build from source or use AppImage:
# Download latest AppImage from https://gmic.eu/download.html
chmod +x G'MIC-QT_AppImage*.AppImage
./G'MIC-QT_AppImage*.AppImageThis launches the standalone G'MIC interface. You can export filtered images and re-import into GIMP.
sudo dnf install python3-pip git
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu # or use GPU if supportedgit clone https://github.com/xinntao/Real-ESRGAN
cd Real-ESRGAN
pip install -r requirements.txt
python inference_realesrgan.py -n RealESRGAN_x4plus -i path/to/your/image.jpgThis gives you a 4x upscaled, cleaned-up version using deep learning.
sudo dnf install waifu2x-converter-cppwaifu2x-converter-cpp -i input.jpg -o output.png --noise-level 2 --scale-ratio 2Filters > G'MIC-QtIf you want a bash script to automate some of this for batches of images, just ask.
M: The plug-in installation says it’s already installed; gimp isn’t loading it. Suggestions?
G: Got it. If
gmic-gimp is installed but GIMP isn't showing
G'MIC in Filters > G'MIC-Qt, here's a focused
Fedora-specific troubleshooting guide:
gimp --version
gmic --versionCheck where it was installed:
find / -name 'gmic_gimp_qt' 2>/dev/nullExpected locations (examples):
/usr/lib64/gimp/2.0/plug-ins/gmic_gimp_qt~/.config/GIMP/2.10/plug-ins/If it's not executable or misplaced, GIMP won’t load it.
Make sure the plugin binary has execute permission:
chmod +x /path/to/gmic_gimp_qtInside GIMP:
Edit > Preferences > Folders > Plug-insgmic_gimp_qtIf all else fails:
chmod +x GMIC-Qt*.AppImage./GMIC-Qt*.AppImageWant help linking the AppImage version directly into GIMP as a workaround? I can walk you through that too.