It is currently Fri Nov 27, 2026 9:40 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Smart Objects for Gimp 3.2
PostPosted: Fri Nov 27, 2026 12:05 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Sep 26, 2026
Posts: 10
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.2

Credits & 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!


Attachments:
smart-objects-gimp3.2.zip [29.74 KiB]
Downloaded 4 times
Screenshot_Menu_20261127-233516.png
Screenshot_Menu_20261127-233516.png [ 621.45 KiB | Viewed 97 times ]
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Smart Objects for Gimp 3.2
PostPosted: Fri Nov 27, 2026 2:42 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 01, 2026
Posts: 909
Can you give a tutorial how to use it. I know there is a smart Object in Photoshop
but I don't why you would want one. In Paint Shop Pro, which I used for many years and know
how to use it very well, there is no smart object filter, so I'm not understanding the value of it.

_________________
Image
Gimp 3.2.8 with Nik Collection and G'mic-QT
Windows 11 Pro with 32 Gigs of RAM
Intel(R) Core(TM) Ultra 7
Previous Paint Shop Pro User v9 - 2023


Top
 Post subject: Re: Smart Objects for Gimp 3.2
PostPosted: Fri Nov 27, 2026 5:24 pm  (#3) 
Offline
New Member

Joined: Nov 27, 2026
Posts: 2
I have no idea who came up with the idea of seeing GIMP as an alternative to Photoshop?
* The UI/UX is so awful and unusable
* GIMP doesn’t natively support prepress
* Layer modes aren’t visually represented in the layer stack
* Tools don’t display animated previews
* GIMP doesn’t use Smart Objects
* etc.

And that’s supposed to be an alternative to Photoshop?

Who claims that? Probably not the GIMP developers and/or users. But then the pool of candidates gets pretty small.

Krita or photopea are much more better alternatives. Why don't you try your plugin there?


Top
 Post subject: Re: Smart Objects for Gimp 3.2
PostPosted: Fri Nov 27, 2026 7:38 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Sep 26, 2026
Posts: 10
Thanks for the feedback!

For TeaMouse: You're right that the purpose of Smart Objects isn't immediately obvious if you're used to working without them. I'll work on a practical tutorial showing how they can be useful for reusable designs, mockups, linked content, and non-destructive editing.

Smart Objects aren't filters. They're essentially editable source documents embedded in or linked to a larger project. You can reuse the same content in multiple places, edit its source independently, and update its instances without rebuilding the entire composition.

Regarding micha007's comments: I understand that GIMP isn't everyone's preferred image editor, and it certainly has areas where it could improve. This project isn't intended to claim that GIMP is a complete Photoshop replacement. I'm developing it to address a specific missing workflow for people who choose to work with GIMP.

The plugin relies on GIMP's native API, particularly LinkLayer, so supporting Krita or Photopea would require separate implementations rather than simply porting this plugin.

My goal is to make GIMP's existing workflow more capable, especially for people who need reusable, editable, and portable image assets.


Top
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group