You are here

open a single transparent overlay layer

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!

creates a new catagorie at the top called overlayers. under this clicking PD1 overlay will create
a single transparent overlay layer. As a colorizer on reddit/r/colorizationrequests I desired a short cut
to clicking layers, transparent, then changing the mode to overlay, so I asked around and
Pat David ( was kind enough to attempt a script. There were a few bugs that
I repaired and a few modifications I made so this script is a joint effort.
;---------------------------------------------------------the website is not allowing me to upload, so there is the script------------------------------------
; Created by Patrick David <> & jiohdi1960
;; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation
; either version 2 of the License, or; (at your option) any later version.
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; GNU General Public License for more details.
(define (script-fu-patdavid-one-trans-Dissolve Image Drawable)
                (gimp-image-undo-group-start Image)
(gimp-image-insert-layer Image (car (gimp-layer-new Image (car(gimp-drawable-width Drawable)) (car(gimp-drawable-height Drawable)) 1 "Dissolve" 100 1) ) 0 -1)
                (gimp-image-undo-group-end Image)
; Finally register our script with script-fu
(script-fu-register "script-fu-patdavid-one-trans-Dissolve"
                    "one new layers with Dissolve"
                    "Patrick David <>"
                    "Patrick David"
SF-IMAGE "Image"         0
SF-DRAWABLE "Drawable"      0
(script-fu-menu-register "script-fu-patdavid-one-trans-Dissolve" "<Image>/overlayers")
;--------------------------------------------------end do not include this line---------------------------------------------------------
name this scrip:t patdavid-1.scm and place in ~/.gimp-2.8/scripts/
on gimp click at the top filters then script-fu then refresh to install.

Scripting Engine: 
GIMP Version: 
Subscribe to Comments for "open a single transparent overlay layer"