Skip to content

Instantly share code, notes, and snippets.

@emanchado
Created October 17, 2016 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emanchado/1480f26b347a3b037d2e3e79d0fd40b5 to your computer and use it in GitHub Desktop.
Save emanchado/1480f26b347a3b037d2e3e79d0fd40b5 to your computer and use it in GitHub Desktop.
(define (script-fu-grow-sel-4 img)
(gimp-context-push)
(gimp-image-undo-group-start img)
(gimp-selection-grow img 4)
(gimp-image-undo-group-end img)
(gimp-context-pop))
(script-fu-register "script-fu-grow-sel-4"
_"<Image>/Select/Grow by 4px"
"Grows the current selection by exactly 4 pixels."
"Esteban Manchado Velazquez"
"Esteban Manchado Velazquez"
"2016"
"RGB*, GRAY*"
SF-IMAGE "Image" 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment