You are here

Heal selection (fix to: Smart remove selection)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!
smart-remove.scm4.06 KB

A fix to the Filter>Enhance>Smart remove selection... script.

Release notes:

Fixed a bug where strange texture (e.g. sky from the top of the image) instead of surrounding texture was synthesized onto the selection, as reported at this website for the resynthesizer plug-in.

Changed the menu item to "Filter>Enhance>Heal selection..." from "Smart remove selection..." (New menu item name is shorter and more descriptive. It doesn't use the Heal tool, but the effect is nearly the same. Note the filename is the same, only the menu item name is changed, and it still requires the resynthesizer plug-in.)

Changed the pop-up help text.


Copy file smart-remove.scm to the standard place for scripts. See Preferences>Folders>Scripts for the pathnames. In my case, using Linux Ubuntu, I removed the current version at /usr/share/gimp/2.0/scripts/smart-remove.scm and installed the new version at ~/.gimp-2.6/scripts/smart-remove.scm. (It seems strange that Gimp will not use a script from your home folder if there is also one of the same name in the standard installation folder, but it will for a plugin?)

Code License: 
GIMP Version: 
Scripting Engine: 


Here is a result. I quickmasked off the poles and the fire hydrant then ran it with the default radius. No other retouch. -Rob A>

On close inspection you can see that resynthesizer got the firewall on the roof correct, but that it didn't quite get the middle mullion on the window correct. It fools casual glances though. plashless, off banks of noon


I've downloaded 2.6.8 and have tried resynth and smart remove selection for editing but they are no where near the quality of yours. The resynth leaves big splotchy color and pulls images down from the top.


Please help!



Subscribe to Comments for "Heal selection (fix to: Smart remove selection)"