1997-11-24 22:05:25 +00:00
|
|
|
; CARVE-IT
|
|
|
|
; Carving, embossing, & stamping
|
|
|
|
; Process taken from "The Photoshop 3 WOW! Book"
|
|
|
|
; http://www.peachpit.com
|
|
|
|
; This script requires a grayscale image containing a single layer.
|
|
|
|
; This layer is used as the mask for the carving effect
|
1998-05-31 06:49:20 +00:00
|
|
|
; NOTE: This script requires the image to be carved to either be an
|
2013-06-06 23:26:16 +02:00
|
|
|
; RGB color or grayscale image with a single layer. An indexed file
|
2019-07-14 13:59:11 +02:00
|
|
|
; can not be used due to the use of gimp-drawable-histogram and
|
|
|
|
; gimp-drawable-levels.
|
1997-11-24 22:05:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
(define (carve-scale val scale)
|
|
|
|
(* (sqrt val) scale))
|
|
|
|
|
|
|
|
(define (calculate-inset-gamma img layer)
|
2019-07-14 13:59:11 +02:00
|
|
|
(let* ((stats (gimp-drawable-histogram layer 0 0.0 1.0))
|
2006-10-16 01:08:54 +00:00
|
|
|
(mean (car stats)))
|
1997-11-24 22:05:25 +00:00
|
|
|
(cond ((< mean 127) (+ 1.0 (* 0.5 (/ (- 127 mean) 127.0))))
|
2006-10-16 01:08:54 +00:00
|
|
|
((>= mean 127) (- 1.0 (* 0.5 (/ (- mean 127) 127.0)))))))
|
1997-11-24 22:05:25 +00:00
|
|
|
|
1998-01-29 03:13:44 +00:00
|
|
|
|
|
|
|
(define (copy-layer-carve-it dest-image dest-drawable source-image source-drawable)
|
|
|
|
(gimp-selection-all dest-image)
|
2018-04-16 20:12:12 +02:00
|
|
|
(gimp-drawable-edit-clear dest-drawable)
|
1998-01-29 03:13:44 +00:00
|
|
|
(gimp-selection-none dest-image)
|
|
|
|
(gimp-selection-all source-image)
|
Fix #6026, SF scripts use v3 API for multilayer gimp-edit-copy, -cut, -paste.
Why: in v3 the signature for gimp-edit-foo PDB procedures changed to support multilayer selection.
This finishes the task for ScriptFu scripts in the GIMP repo.
This is not a complete list, since some calls were changed incidentally by prior commits.
You can grep for "edit-copy" etc. in script-fu/scripts to find instances.
This also makes incidental changes, to script calls to plug-in-tile,
which now also has a changed signature to support multilayer.
The changes are simple code transformations.
The changes to gimp-edit-paste calls are more complex,
a mixed bag of a few lines transformed to more lines.
I did not try to understand the larger logic of the changed plugins.
I did not test the changed plugins functionally.
I used a harness to call each changed plugin with improvised parameters,
only checking that the test plugin did not throw runtime errors,
not checking that they produced correct images.
As noted in the issue, this might be undone if the original signatures
for gimp-edit-foo are restored as convenience functions.
2022-05-06 16:40:19 -04:00
|
|
|
(gimp-edit-copy 1 (vector source-drawable))
|
|
|
|
(let* (
|
|
|
|
(pasted (gimp-edit-paste dest-drawable FALSE))
|
|
|
|
(num-pasted (car pasted))
|
|
|
|
(floating-sel (aref (cadr pasted) (- num-pasted 1)))
|
|
|
|
)
|
|
|
|
(gimp-floating-sel-anchor floating-sel)
|
|
|
|
)
|
|
|
|
)
|
1998-01-29 03:13:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
1997-11-24 22:05:25 +00:00
|
|
|
(define (script-fu-carve-it mask-img mask-drawable bg-layer carve-white)
|
2006-10-16 01:08:54 +00:00
|
|
|
(let* (
|
2021-04-20 17:47:11 +02:00
|
|
|
(width (car (gimp-drawable-get-width mask-drawable)))
|
|
|
|
(height (car (gimp-drawable-get-height mask-drawable)))
|
2006-10-16 01:08:54 +00:00
|
|
|
(type (car (gimp-drawable-type bg-layer)))
|
|
|
|
(img (car (gimp-image-new width height (cond ((= type RGB-IMAGE) RGB)
|
|
|
|
((= type RGBA-IMAGE) RGB)
|
|
|
|
((= type GRAY-IMAGE) GRAY)
|
|
|
|
((= type GRAYA-IMAGE) GRAY)
|
|
|
|
((= type INDEXED-IMAGE) INDEXED)
|
|
|
|
((= type INDEXEDA-IMAGE) INDEXED)))))
|
|
|
|
(size (min width height))
|
|
|
|
(offx (carve-scale size 0.33))
|
|
|
|
(offy (carve-scale size 0.25))
|
|
|
|
(feather (carve-scale size 0.3))
|
|
|
|
(brush-size (carve-scale size 0.3))
|
2019-07-14 13:59:11 +02:00
|
|
|
(brush-name (car (gimp-brush-new "Carve It")))
|
2006-10-16 01:08:54 +00:00
|
|
|
(mask (car (gimp-channel-new img width height "Engraving Mask" 50 '(0 0 0))))
|
2010-08-03 00:13:51 +03:00
|
|
|
(inset-gamma (calculate-inset-gamma (car (gimp-item-get-image bg-layer)) bg-layer))
|
2006-10-16 01:08:54 +00:00
|
|
|
(mask-fat 0)
|
|
|
|
(mask-emboss 0)
|
|
|
|
(mask-highlight 0)
|
|
|
|
(mask-shadow 0)
|
|
|
|
(shadow-layer 0)
|
|
|
|
(highlight-layer 0)
|
|
|
|
(cast-shadow-layer 0)
|
|
|
|
(csl-mask 0)
|
|
|
|
(inset-layer 0)
|
|
|
|
(il-mask 0)
|
2021-04-20 17:47:11 +02:00
|
|
|
(bg-width (car (gimp-drawable-get-width bg-layer)))
|
|
|
|
(bg-height (car (gimp-drawable-get-height bg-layer)))
|
2006-10-16 01:08:54 +00:00
|
|
|
(bg-type (car (gimp-drawable-type bg-layer)))
|
2010-08-03 00:13:51 +03:00
|
|
|
(bg-image (car (gimp-item-get-image bg-layer)))
|
2017-01-09 20:37:30 +01:00
|
|
|
(layer1 (car (gimp-layer-new img bg-width bg-height bg-type "Layer1" 100 LAYER-MODE-NORMAL)))
|
2006-10-16 01:08:54 +00:00
|
|
|
)
|
2004-09-22 17:27:20 +00:00
|
|
|
|
|
|
|
(gimp-context-push)
|
2011-11-09 02:42:34 -05:00
|
|
|
(gimp-context-set-defaults)
|
2004-09-22 17:27:20 +00:00
|
|
|
|
1999-10-17 00:07:55 +00:00
|
|
|
(gimp-image-undo-disable img)
|
2004-11-11 13:59:18 +00:00
|
|
|
|
2011-03-02 02:55:43 -05:00
|
|
|
(gimp-image-insert-layer img layer1 0 0)
|
2004-11-11 13:59:18 +00:00
|
|
|
|
1998-01-29 03:13:44 +00:00
|
|
|
(gimp-selection-all img)
|
2018-04-16 20:12:12 +02:00
|
|
|
(gimp-drawable-edit-clear layer1)
|
1998-01-29 03:13:44 +00:00
|
|
|
(gimp-selection-none img)
|
|
|
|
(copy-layer-carve-it img layer1 bg-image bg-layer)
|
|
|
|
|
Fix #6026, SF scripts use v3 API for multilayer gimp-edit-copy, -cut, -paste.
Why: in v3 the signature for gimp-edit-foo PDB procedures changed to support multilayer selection.
This finishes the task for ScriptFu scripts in the GIMP repo.
This is not a complete list, since some calls were changed incidentally by prior commits.
You can grep for "edit-copy" etc. in script-fu/scripts to find instances.
This also makes incidental changes, to script calls to plug-in-tile,
which now also has a changed signature to support multilayer.
The changes are simple code transformations.
The changes to gimp-edit-paste calls are more complex,
a mixed bag of a few lines transformed to more lines.
I did not try to understand the larger logic of the changed plugins.
I did not test the changed plugins functionally.
I used a harness to call each changed plugin with improvised parameters,
only checking that the test plugin did not throw runtime errors,
not checking that they produced correct images.
As noted in the issue, this might be undone if the original signatures
for gimp-edit-foo are restored as convenience functions.
2022-05-06 16:40:19 -04:00
|
|
|
(gimp-edit-copy 1 (vector mask-drawable))
|
2010-09-28 09:10:07 +04:00
|
|
|
(gimp-image-insert-channel img mask -1 0)
|
1998-01-29 03:13:44 +00:00
|
|
|
|
Fix #6026, SF scripts use v3 API for multilayer gimp-edit-copy, -cut, -paste.
Why: in v3 the signature for gimp-edit-foo PDB procedures changed to support multilayer selection.
This finishes the task for ScriptFu scripts in the GIMP repo.
This is not a complete list, since some calls were changed incidentally by prior commits.
You can grep for "edit-copy" etc. in script-fu/scripts to find instances.
This also makes incidental changes, to script calls to plug-in-tile,
which now also has a changed signature to support multilayer.
The changes are simple code transformations.
The changes to gimp-edit-paste calls are more complex,
a mixed bag of a few lines transformed to more lines.
I did not try to understand the larger logic of the changed plugins.
I did not test the changed plugins functionally.
I used a harness to call each changed plugin with improvised parameters,
only checking that the test plugin did not throw runtime errors,
not checking that they produced correct images.
As noted in the issue, this might be undone if the original signatures
for gimp-edit-foo are restored as convenience functions.
2022-05-06 16:40:19 -04:00
|
|
|
(plug-in-tile RUN-NONINTERACTIVE img 1 (vector layer1) width height FALSE)
|
|
|
|
(let* (
|
|
|
|
(pasted (gimp-edit-paste mask FALSE))
|
|
|
|
(num-pasted (car pasted))
|
|
|
|
(floating-sel (aref (cadr pasted) (- num-pasted 1)))
|
|
|
|
)
|
|
|
|
(gimp-floating-sel-anchor floating-sel)
|
|
|
|
)
|
1997-11-24 22:05:25 +00:00
|
|
|
(if (= carve-white FALSE)
|
2017-09-03 21:28:47 +02:00
|
|
|
(gimp-drawable-invert mask FALSE))
|
1997-11-24 22:05:25 +00:00
|
|
|
|
|
|
|
(set! mask-fat (car (gimp-channel-copy mask)))
|
2010-09-28 09:10:07 +04:00
|
|
|
(gimp-image-insert-channel img mask-fat -1 0)
|
2011-02-21 00:07:19 +02:00
|
|
|
(gimp-image-select-item img CHANNEL-OP-REPLACE mask-fat)
|
2019-07-14 13:59:11 +02:00
|
|
|
|
|
|
|
(gimp-brush-set-shape brush-name BRUSH-GENERATED-CIRCLE)
|
|
|
|
(gimp-brush-set-spikes brush-name 2)
|
|
|
|
(gimp-brush-set-hardness brush-name 1.0)
|
|
|
|
(gimp-brush-set-spacing brush-name 25)
|
|
|
|
(gimp-brush-set-aspect-ratio brush-name 1)
|
|
|
|
(gimp-brush-set-angle brush-name 0)
|
|
|
|
(cond (<= brush-size 17) (gimp-brush-set-radius brush-name (\ brush-size 2))
|
|
|
|
(else gimp-brush-set-radius brush-name (\ 19 2)))
|
|
|
|
(gimp-context-set-brush brush-name)
|
|
|
|
|
2004-09-22 18:43:09 +00:00
|
|
|
(gimp-context-set-foreground '(255 255 255))
|
2018-04-16 20:12:12 +02:00
|
|
|
(gimp-drawable-edit-stroke-selection mask-fat)
|
1997-11-24 22:05:25 +00:00
|
|
|
(gimp-selection-none img)
|
|
|
|
|
|
|
|
(set! mask-emboss (car (gimp-channel-copy mask-fat)))
|
2010-09-28 09:10:07 +04:00
|
|
|
(gimp-image-insert-channel img mask-emboss -1 0)
|
2007-10-01 19:44:23 +00:00
|
|
|
(plug-in-gauss-rle RUN-NONINTERACTIVE img mask-emboss feather TRUE TRUE)
|
|
|
|
(plug-in-emboss RUN-NONINTERACTIVE img mask-emboss 315.0 45.0 7 TRUE)
|
1997-11-24 22:05:25 +00:00
|
|
|
|
2004-09-22 18:43:09 +00:00
|
|
|
(gimp-context-set-background '(180 180 180))
|
2011-02-21 00:07:19 +02:00
|
|
|
(gimp-image-select-item img CHANNEL-OP-REPLACE mask-fat)
|
1997-11-24 22:05:25 +00:00
|
|
|
(gimp-selection-invert img)
|
2018-04-16 20:12:12 +02:00
|
|
|
(gimp-drawable-edit-fill mask-emboss FILL-BACKGROUND)
|
2011-02-21 00:07:19 +02:00
|
|
|
(gimp-image-select-item img CHANNEL-OP-REPLACE mask)
|
2018-04-16 20:12:12 +02:00
|
|
|
(gimp-drawable-edit-fill mask-emboss FILL-BACKGROUND)
|
1997-11-24 22:05:25 +00:00
|
|
|
(gimp-selection-none img)
|
|
|
|
|
|
|
|
(set! mask-highlight (car (gimp-channel-copy mask-emboss)))
|
2010-09-28 09:10:07 +04:00
|
|
|
(gimp-image-insert-channel img mask-highlight -1 0)
|
2019-07-14 13:59:11 +02:00
|
|
|
(gimp-drawable-levels mask-highlight 0
|
|
|
|
0.7056 1.0 TRUE
|
|
|
|
1.0
|
|
|
|
0.0 1.0 TRUE)
|
1997-11-24 22:05:25 +00:00
|
|
|
|
|
|
|
(set! mask-shadow mask-emboss)
|
2019-07-14 13:59:11 +02:00
|
|
|
(gimp-drawable-levels mask-shadow 0
|
|
|
|
0.0 0.70586 TRUE
|
|
|
|
1.0
|
|
|
|
0.0 1.0 TRUE)
|
1997-11-24 22:05:25 +00:00
|
|
|
|
Fix #6026, SF scripts use v3 API for multilayer gimp-edit-copy, -cut, -paste.
Why: in v3 the signature for gimp-edit-foo PDB procedures changed to support multilayer selection.
This finishes the task for ScriptFu scripts in the GIMP repo.
This is not a complete list, since some calls were changed incidentally by prior commits.
You can grep for "edit-copy" etc. in script-fu/scripts to find instances.
This also makes incidental changes, to script calls to plug-in-tile,
which now also has a changed signature to support multilayer.
The changes are simple code transformations.
The changes to gimp-edit-paste calls are more complex,
a mixed bag of a few lines transformed to more lines.
I did not try to understand the larger logic of the changed plugins.
I did not test the changed plugins functionally.
I used a harness to call each changed plugin with improvised parameters,
only checking that the test plugin did not throw runtime errors,
not checking that they produced correct images.
As noted in the issue, this might be undone if the original signatures
for gimp-edit-foo are restored as convenience functions.
2022-05-06 16:40:19 -04:00
|
|
|
(gimp-edit-copy 1 (vector mask-shadow))
|
|
|
|
(let* (
|
|
|
|
(pasted (gimp-edit-paste layer1 FALSE))
|
|
|
|
(num-pasted (car pasted))
|
|
|
|
(floating-sel (aref (cadr pasted) (- num-pasted 1)))
|
|
|
|
)
|
|
|
|
(set! shadow-layer floating-sel)
|
|
|
|
(gimp-floating-sel-to-layer shadow-layer)
|
|
|
|
)
|
2017-01-09 20:37:30 +01:00
|
|
|
(gimp-layer-set-mode shadow-layer LAYER-MODE-MULTIPLY)
|
1997-11-24 22:05:25 +00:00
|
|
|
|
Fix #6026, SF scripts use v3 API for multilayer gimp-edit-copy, -cut, -paste.
Why: in v3 the signature for gimp-edit-foo PDB procedures changed to support multilayer selection.
This finishes the task for ScriptFu scripts in the GIMP repo.
This is not a complete list, since some calls were changed incidentally by prior commits.
You can grep for "edit-copy" etc. in script-fu/scripts to find instances.
This also makes incidental changes, to script calls to plug-in-tile,
which now also has a changed signature to support multilayer.
The changes are simple code transformations.
The changes to gimp-edit-paste calls are more complex,
a mixed bag of a few lines transformed to more lines.
I did not try to understand the larger logic of the changed plugins.
I did not test the changed plugins functionally.
I used a harness to call each changed plugin with improvised parameters,
only checking that the test plugin did not throw runtime errors,
not checking that they produced correct images.
As noted in the issue, this might be undone if the original signatures
for gimp-edit-foo are restored as convenience functions.
2022-05-06 16:40:19 -04:00
|
|
|
(gimp-edit-copy 1 (vector mask-highlight))
|
|
|
|
(let* (
|
|
|
|
(pasted (gimp-edit-paste shadow-layer FALSE))
|
|
|
|
(num-pasted (car pasted))
|
|
|
|
(floating-sel (aref (cadr pasted) (- num-pasted 1)))
|
|
|
|
)
|
|
|
|
(set! highlight-layer floating-sel)
|
|
|
|
(gimp-floating-sel-to-layer highlight-layer)
|
|
|
|
)
|
2017-01-09 20:37:30 +01:00
|
|
|
(gimp-layer-set-mode highlight-layer LAYER-MODE-SCREEN)
|
1997-11-24 22:05:25 +00:00
|
|
|
|
Fix #6026, SF scripts use v3 API for multilayer gimp-edit-copy, -cut, -paste.
Why: in v3 the signature for gimp-edit-foo PDB procedures changed to support multilayer selection.
This finishes the task for ScriptFu scripts in the GIMP repo.
This is not a complete list, since some calls were changed incidentally by prior commits.
You can grep for "edit-copy" etc. in script-fu/scripts to find instances.
This also makes incidental changes, to script calls to plug-in-tile,
which now also has a changed signature to support multilayer.
The changes are simple code transformations.
The changes to gimp-edit-paste calls are more complex,
a mixed bag of a few lines transformed to more lines.
I did not try to understand the larger logic of the changed plugins.
I did not test the changed plugins functionally.
I used a harness to call each changed plugin with improvised parameters,
only checking that the test plugin did not throw runtime errors,
not checking that they produced correct images.
As noted in the issue, this might be undone if the original signatures
for gimp-edit-foo are restored as convenience functions.
2022-05-06 16:40:19 -04:00
|
|
|
(gimp-edit-copy 1 (vector mask))
|
|
|
|
(let* (
|
|
|
|
(pasted (gimp-edit-paste highlight-layer FALSE))
|
|
|
|
(num-pasted (car pasted))
|
|
|
|
(floating-sel (aref (cadr pasted) (- num-pasted 1)))
|
|
|
|
)
|
|
|
|
(set! cast-shadow-layer floating-sel)
|
|
|
|
(gimp-floating-sel-to-layer cast-shadow-layer)
|
|
|
|
)
|
2017-01-09 20:37:30 +01:00
|
|
|
(gimp-layer-set-mode cast-shadow-layer LAYER-MODE-MULTIPLY)
|
1997-11-24 22:05:25 +00:00
|
|
|
(gimp-layer-set-opacity cast-shadow-layer 75)
|
Fix #6026, SF scripts use v3 API for multilayer gimp-edit-copy, -cut, -paste.
Why: in v3 the signature for gimp-edit-foo PDB procedures changed to support multilayer selection.
This finishes the task for ScriptFu scripts in the GIMP repo.
This is not a complete list, since some calls were changed incidentally by prior commits.
You can grep for "edit-copy" etc. in script-fu/scripts to find instances.
This also makes incidental changes, to script calls to plug-in-tile,
which now also has a changed signature to support multilayer.
The changes are simple code transformations.
The changes to gimp-edit-paste calls are more complex,
a mixed bag of a few lines transformed to more lines.
I did not try to understand the larger logic of the changed plugins.
I did not test the changed plugins functionally.
I used a harness to call each changed plugin with improvised parameters,
only checking that the test plugin did not throw runtime errors,
not checking that they produced correct images.
As noted in the issue, this might be undone if the original signatures
for gimp-edit-foo are restored as convenience functions.
2022-05-06 16:40:19 -04:00
|
|
|
|
2007-10-01 19:44:23 +00:00
|
|
|
(plug-in-gauss-rle RUN-NONINTERACTIVE img cast-shadow-layer feather TRUE TRUE)
|
2018-04-23 15:49:23 +02:00
|
|
|
(gimp-item-transform-translate cast-shadow-layer offx offy)
|
1997-11-24 22:05:25 +00:00
|
|
|
|
2017-01-09 20:37:30 +01:00
|
|
|
(set! csl-mask (car (gimp-layer-create-mask cast-shadow-layer ADD-MASK-BLACK)))
|
2003-12-08 22:33:17 +00:00
|
|
|
(gimp-layer-add-mask cast-shadow-layer csl-mask)
|
2011-02-21 00:07:19 +02:00
|
|
|
(gimp-image-select-item img CHANNEL-OP-REPLACE mask)
|
2004-09-22 18:43:09 +00:00
|
|
|
(gimp-context-set-background '(255 255 255))
|
2018-04-16 20:12:12 +02:00
|
|
|
(gimp-drawable-edit-fill csl-mask FILL-BACKGROUND)
|
1997-11-24 22:05:25 +00:00
|
|
|
|
2004-11-11 13:59:18 +00:00
|
|
|
(set! inset-layer (car (gimp-layer-copy layer1 TRUE)))
|
2011-03-02 02:55:43 -05:00
|
|
|
(gimp-image-insert-layer img inset-layer 0 1)
|
1997-11-24 22:05:25 +00:00
|
|
|
|
2017-01-09 20:37:30 +01:00
|
|
|
(set! il-mask (car (gimp-layer-create-mask inset-layer ADD-MASK-BLACK)))
|
2003-12-08 22:33:17 +00:00
|
|
|
(gimp-layer-add-mask inset-layer il-mask)
|
2011-02-21 00:07:19 +02:00
|
|
|
(gimp-image-select-item img CHANNEL-OP-REPLACE mask)
|
2004-09-22 18:43:09 +00:00
|
|
|
(gimp-context-set-background '(255 255 255))
|
2018-04-16 20:12:12 +02:00
|
|
|
(gimp-drawable-edit-fill il-mask FILL-BACKGROUND)
|
1997-11-24 22:05:25 +00:00
|
|
|
(gimp-selection-none img)
|
1998-01-29 03:13:44 +00:00
|
|
|
(gimp-selection-none bg-image)
|
2019-07-14 13:59:11 +02:00
|
|
|
(gimp-drawable-levels inset-layer 0 0.0 1.0 TRUE inset-gamma 0.0 1.0 TRUE)
|
1997-11-24 22:05:25 +00:00
|
|
|
(gimp-image-remove-channel img mask)
|
|
|
|
(gimp-image-remove-channel img mask-fat)
|
|
|
|
(gimp-image-remove-channel img mask-highlight)
|
|
|
|
(gimp-image-remove-channel img mask-shadow)
|
|
|
|
|
2010-10-10 03:41:21 +04:00
|
|
|
(gimp-item-set-name layer1 _"Carved Surface")
|
|
|
|
(gimp-item-set-name shadow-layer _"Bevel Shadow")
|
|
|
|
(gimp-item-set-name highlight-layer _"Bevel Highlight")
|
|
|
|
(gimp-item-set-name cast-shadow-layer _"Cast Shadow")
|
|
|
|
(gimp-item-set-name inset-layer _"Inset")
|
1997-11-24 22:05:25 +00:00
|
|
|
|
2019-07-14 13:59:11 +02:00
|
|
|
(gimp-brush-delete brush-name)
|
|
|
|
|
1997-11-24 22:05:25 +00:00
|
|
|
(gimp-display-new img)
|
2004-09-22 17:27:20 +00:00
|
|
|
(gimp-image-undo-enable img)
|
|
|
|
|
2006-10-16 01:08:54 +00:00
|
|
|
(gimp-context-pop)
|
|
|
|
)
|
|
|
|
)
|
1997-11-24 22:05:25 +00:00
|
|
|
|
|
|
|
(script-fu-register "script-fu-carve-it"
|
2006-10-16 01:08:54 +00:00
|
|
|
_"Stencil C_arve..."
|
2012-10-07 16:40:40 +02:00
|
|
|
_"Use the specified drawable as a stencil to carve from the specified image."
|
2006-10-16 01:08:54 +00:00
|
|
|
"Spencer Kimball"
|
|
|
|
"Spencer Kimball"
|
|
|
|
"1997"
|
|
|
|
"GRAY"
|
|
|
|
SF-IMAGE "Mask image" 0
|
|
|
|
SF-DRAWABLE "Mask drawable" 0
|
|
|
|
SF-DRAWABLE _"Image to carve" 0
|
|
|
|
SF-TOGGLE _"Carve white areas" TRUE
|
|
|
|
)
|
2004-11-18 22:44:28 +00:00
|
|
|
|
|
|
|
(script-fu-menu-register "script-fu-carve-it"
|
2006-10-16 01:08:54 +00:00
|
|
|
"<Image>/Filters/Decor")
|