A Photoshop-style Smart Object workflow plugin for GIMP 3.2+, built on top of GIMP's native LinkLayer, persistent XCF parasites, and an automatic background sync watcher.
One of the things I’ve always missed most when jumping into GIMP is a proper Smart Object workflow—being able to scale/rotate layers non-destructively, edit nested layers in a separate tab, and still have everything stay portable inside a single .xcf file.
Since GIMP 3.2 introduced Gimp.LinkLayer, I put together a Python plugin to bridge the rest of the gap.
What it does:
Non-destructive transforms: Move, scale, and rotate your Smart Objects freely without degrading pixels.
Edit in a separate tab: Hit Edit Contents, tweak your layers, hit Ctrl+S, and the parent image updates automatically.
Embedded & Linked modes:
Embedded packs the contents directly inside your .xcf (zlib-compressed + Base64 in a persistent parasite, with SHA-256 checks). If you send the .xcf to another computer or OS, it automatically extracts and relinks everything on open.
Linked keeps an external file as the live source while still maintaining a portable backup inside the .xcf.
Full workflow tools: New Smart Object via Copy, Make Unique (detach shared instances), Convert to Layers (Unpack) without flattening, Replace/Relink, and Cleanup Unused Files.
Under the hood:
There’s a lightweight background watcher (smart-object-watcher) that starts with GIMP. It auto-restores missing embedded files when you open a project and polls disk changes (1s when active, backing off to 3s when idle, with write debouncing) so your in-memory parasites stay in sync. File extraction uses atomic temp writes so crashes won't leave corrupted files behind.
Installation:
Just drop file smart-objects.py into a smart-objects folder inside your GIMP 3.2 plug-ins directory (make it executable on Linux/macOS) and restart GIMP. Everything shows up under Layer > Smart Object and the Layers dock right-click menu.
GitHub:
https://github.com/hexsian/smart-objects-gimp3.2Credits & Acknowledgments:
Core concept & inspiration: GIMPCapsule by mahefanante
Plugin framework & base architecture: GIMPhoto by diegochagas and contributors
Would love for you guys to try it out and let me know if you run into any quirks or edge cases!