Skip to content

Commit

Permalink
update isolate
Browse files Browse the repository at this point in the history
  • Loading branch information
script-fu committed Sep 8, 2024
1 parent 3625770 commit 2d0acaf
Show file tree
Hide file tree
Showing 6 changed files with 1,051 additions and 11 deletions.
1 change: 1 addition & 0 deletions _posts/2022-12-4-Custom Script-Fu Procedures.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ An example of how to use them is located [here.](https://script-fu.github.io/202
- [alpha-box-crop](https://github.com/script-fu/script-fu/blob/main/procedures/alpha-box-crop.scm)
- [apply-bright-curve](https://github.com/script-fu/script-fu/blob/main/procedures/apply-bright-curve.scm)
- [apply-s-curve](https://github.com/script-fu/script-fu/blob/main/procedures/apply-s-curve.scm)
- [artbox-revert-layer](https://github.com/script-fu/script-fu/blob/main/procedures/artbox-revert-layer.scm)
- [basic-duplicate-layer](https://github.com/script-fu/script-fu/blob/main/procedures/basic-duplicate-layer.scm)
- [bubble-sort](https://github.com/script-fu/script-fu/blob/main/procedures/bubble-sort.scm)
- [close-groups](https://github.com/script-fu/script-fu/blob/main/procedures/close-groups.scm)
Expand Down
22 changes: 11 additions & 11 deletions _posts/2023-03-17-IsolateSelection.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ I'm trying out a new approach with these plugins, they are very slow on big file

The Isolate plug-ins should appear in the Tools menu.

To download [**isolateSelected.scm**](https://raw.githubusercontent.com/script-fu/script-fu.github.io/main/plug-ins/isolateSelected/isolateSelected.scm) and [**exitIsolation.scm**](https://raw.githubusercontent.com/script-fu/script-fu.github.io/main/plug-ins/exitIsolation/exitIsolation.scm)...
...follow the link, right click the page, Save as isolateSelected.scm, in a folder called isolateSelected, in a GIMP plug-ins location. In Linux, set the file to be executable.
To download [**isolate.scm**](https://raw.githubusercontent.com/script-fu/script-fu.github.io/main/plug-ins/isolate/isolate.scm) and [**isolate-exit.scm**](https://raw.githubusercontent.com/script-fu/script-fu.github.io/main/plug-ins/isolate-exit/isolate-exit.scm)...
...follow the link, right click the page, Save as isolate.scm, in a folder called isolate, in a GIMP plug-ins location. In Linux, set the file to be executable.

To download the required utility plug-in [**set-items-visibility**](https://github.com/script-fu/script-fu.github.io/tree/main/plug-ins/set-items-visibility/set-items-visibility)...
...follow the link, click the plug-in, there's a download button top right, download raw file, in a GIMP plug-ins location.


<!-- include-plugin "isolateSelected" -->
<!-- include-plugin "isolate" -->
```scheme
#!/usr/bin/env gimp-script-fu-interpreter-3.0
(define debug #f)
;Under GNU GENERAL PUBLIC LICENSE Version 3
(define (script-fu-isolateSelected img drwbles)
(define (script-fu-isolate img drwbles)
(let*
(
(lstL 0)(tgdLst 0)(isolated 0)(isoPLst 0)(changed 1)
Expand Down Expand Up @@ -91,7 +91,7 @@ To download the required utility plug-in [**set-items-visibility**](https://gith
)
(gimp-image-undo-group-end img)
(print "end script-fu-isolateSelected")
(print "end script-fu-isolate")
)
)
Expand Down Expand Up @@ -245,7 +245,7 @@ To download the required utility plug-in [**set-items-visibility**](https://gith
)
(script-fu-register-filter "script-fu-isolateSelected"
(script-fu-register-filter "script-fu-isolate"
"Isolate"
"Isolates the selected layers"
"Mark Sweeney"
Expand All @@ -254,7 +254,7 @@ To download the required utility plug-in [**set-items-visibility**](https://gith
"*"
SF-ONE-OR-MORE-DRAWABLE ;
)
(script-fu-menu-register "script-fu-isolateSelected" "<Image>/Tools")
(script-fu-menu-register "script-fu-isolate" "<Image>/Tools")
; copyright 2023, Mark Sweeney, Under GNU GENERAL PUBLIC LICENSE Version 3
Expand Down Expand Up @@ -703,14 +703,14 @@ To download the required utility plug-in [**set-items-visibility**](https://gith

*a second plug-in to exit the isolated state*

<!-- include-plugin "exitIsolation" -->
<!-- include-plugin "isolate-exit" -->
```scheme
#!/usr/bin/env gimp-script-fu-interpreter-3.0
(define debug #f)
;Under GNU GENERAL PUBLIC LICENSE Version 3
(define (script-fu-exitIsolation img drwbles)
(define (script-fu-isolate-exit img drwbles)
(let*
(
(lstL 0)(fileNme "")(fndP 0)
Expand Down Expand Up @@ -740,7 +740,7 @@ To download the required utility plug-in [**set-items-visibility**](https://gith
)
)
(script-fu-register-filter "script-fu-exitIsolation"
(script-fu-register-filter "script-fu-isolate-exit"
"Isolate Exit"
"Exit isolation mode"
"Mark Sweeney"
Expand All @@ -749,7 +749,7 @@ To download the required utility plug-in [**set-items-visibility**](https://gith
"*"
SF-ONE-OR-MORE-DRAWABLE ;
)
(script-fu-menu-register "script-fu-exitIsolation" "<Image>/Tools")
(script-fu-menu-register "script-fu-isolate-exit" "<Image>/Tools")
; copyright 2023, Mark Sweeney, Under GNU GENERAL PUBLIC LICENSE Version 3
Expand Down
7 changes: 7 additions & 0 deletions _posts/2024-09-5-Artbox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Artbox

This is my experimental version of GIMP Dev.

https://script-fu.github.io/artbox/

@pixelmixer
Loading

0 comments on commit 2d0acaf

Please sign in to comment.