It is currently Sat Nov 28, 2026 9:36 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 10 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: 12
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 10 times
Screenshot_Menu_20261127-233516.png
Screenshot_Menu_20261127-233516.png [ 621.45 KiB | Viewed 277 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: 912
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: 12
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 subject: Re: Smart Objects for Gimp 3.2
PostPosted: Sat Nov 28, 2026 3:14 am  (#5) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16327
Hex wrote:
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.


Well said Hex. :bigthup :)
No one here is saying GIMP replaces Photoshop. Unless of course you want a free alternative.
Many people are just tired of paying for software when they have Open Source alternatives that are very capable industry standard design Freeware.
Just a few examples.
Inkscape - vector
GIMP - Painting, Photo, and Design
Blender - 3D Modeling alternative
Scribus – Open Source Desktop Publishing
Apache Open Office - The Free and Open Productivity Suite
Darktable & RawTherapee (RAW Development) - Non-destructive RAW editors that GIMP frequently relies on for initial RAW rendering before moving into layer-based editing or compositing.

There are many other Open Source Freeware programs.


I myself as well as many others here have created tutorials that mimic Adobe PS tutorials.
And one of the greatest things about GIMP is the fact that third parties are able to contribute to the program with free and Open Source plugins. This is just one of the things that make GIMP so awesome and helps it grow better and better. Third party filters and plugins that can be made better by other third party individuals.
I myself have watched Photoshop tutorials and created filters that do the exact same thing with the exact same results. Can you do everything in GIMP that you can in Photoshop? No. But you also cannot do everything in Photoshop that can be accomplished in GIMP.

I suggest you check out our tutorial section of the forum. :bigthup
viewtopic.php?f=10&t=5148&start=0

_________________
Image


Top
 Post subject: Re: Smart Objects for Gimp 3.2
PostPosted: Sat Nov 28, 2026 9:50 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Sep 26, 2026
Posts: 12
Update smart objects plugin: fix relink, make unique, missing-files notice, safer restore


Attachments:
smart-objects.zip [30.41 KiB]
Downloaded 10 times
Top
 Post subject: Re: Smart Objects for Gimp 3.2
PostPosted: Sat Nov 28, 2026 10:38 am  (#7) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16327
Thank you for the update Hex. :bigthup

_________________
Image


Top
 Post subject: Re: Smart Objects for Gimp 3.2
PostPosted: Sat Nov 28, 2026 10:57 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 01, 2026
Posts: 912
Looking forward for more on this.

_________________
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: Sat Nov 28, 2026 11:56 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Sep 26, 2026
Posts: 12
TeaMouse wrote:
Looking forward for more on this.

I'm pretty tied up right now for my GIMP fork, so I haven't had time to put together a proper tutorial yet—here's the short explanation in the meantime of why you'd want one.

What it is:

A smart object is a layer that remembers where it came from. Instead of holding pixels you can only damage, it points to a source file and re-renders from it. Think of it as a "placed image" rather than a "pasted image". Paint Shop Pro has no equivalent, which is probably why it looks pointless at first.

Why it's useful:

Resize without losing quality. Scale a normal layer down to 20% and back up to 100%, and it stays blurry because the pixels are gone. A smart object re-renders from the original every time, so you can scale, rotate and move it as often as you like.

Edit once, update everywhere. Say you use the same logo in five places on a poster. Duplicate the smart object, then change the logo once with Edit Contents, and all five copies update. If one copy needs to differ, Make Unique gives it its own file.

Edit later, even after transforming. Rotated and scaled a photo into a mockup (phone screen, T-shirt, frame)? Right-click it, choose Edit Contents, change the design, press Save, and the mockup updates. No redoing the transform.

Swap the contents. Replace Contents puts a different image in the same spot with the same size and position. This is handy for templates.

Quick start:

Select a layer, then go to Layer > Smart Object > Convert to Smart Object (Embedded). Embedded keeps the data inside the XCF, so the file is portable.

Scale or rotate it as you like.

Choose Edit Contents, edit in the new tab, and save with File > Save (use Overwrite if it's not an XCF). The layer updates.

Duplicate the layer, edit the contents once, and watch both change.

Honest caveat:

If you mostly paint or retouch a single image, you may never need this. It pays off when you reuse the same element, build mockups or templates, or resize a lot.


Top
 Post subject: Re: Smart Objects for Gimp 3.2
PostPosted: Sat Nov 28, 2026 2:01 pm  (#10) 
Offline
GimpChat Member

Joined: Apr 11, 2024
Posts: 327
Thanks for all your work Hex.
Do you think about localization of your plug-ins?
Enabling gettext, so people could do translations?


Top
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group