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 (http://blog.patdavid.net) 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 <patdavid@gmail.com> & jiohdi1960
; http://blog.patdavid.net; 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
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
; 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-displays-flush)
                (gimp-image-undo-group-end Image)
)
; Finally register our script with script-fu
(script-fu-register "script-fu-patdavid-one-trans-Dissolve"
                    "PD1Dissolve"
                    "one new layers with Dissolve"
                    "Patrick David <patdavid@patdavid.net>"
                    "Patrick David"
                    "2015-02-24"
                    "RGB*"
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"