summaryrefslogtreecommitdiff
path: root/script-fu
diff options
context:
space:
mode:
Diffstat (limited to 'script-fu')
-rw-r--r--script-fu/SNAPSHOTS/przem-apply-waves-effect-v3x.scm (renamed from script-fu/3.x/przem-apply-waves-effect-v3x.scm)0
-rw-r--r--script-fu/SNAPSHOTS/przem-low-detail-v3x.scm (renamed from script-fu/3.x/przem-low-detail-v3x.scm)0
-rw-r--r--script-fu/SNAPSHOTS/przem-soft-focus-noninteractive-v3x.scm (renamed from script-fu/3.x/przem-soft-focus-noninteractive-v3x.scm)25
-rw-r--r--script-fu/changelog.md3
4 files changed, 18 insertions, 10 deletions
diff --git a/script-fu/3.x/przem-apply-waves-effect-v3x.scm b/script-fu/SNAPSHOTS/przem-apply-waves-effect-v3x.scm
index 1059557..1059557 100644
--- a/script-fu/3.x/przem-apply-waves-effect-v3x.scm
+++ b/script-fu/SNAPSHOTS/przem-apply-waves-effect-v3x.scm
diff --git a/script-fu/3.x/przem-low-detail-v3x.scm b/script-fu/SNAPSHOTS/przem-low-detail-v3x.scm
index 35f678d..35f678d 100644
--- a/script-fu/3.x/przem-low-detail-v3x.scm
+++ b/script-fu/SNAPSHOTS/przem-low-detail-v3x.scm
diff --git a/script-fu/3.x/przem-soft-focus-noninteractive-v3x.scm b/script-fu/SNAPSHOTS/przem-soft-focus-noninteractive-v3x.scm
index 619a9e1..a11531a 100644
--- a/script-fu/3.x/przem-soft-focus-noninteractive-v3x.scm
+++ b/script-fu/SNAPSHOTS/przem-soft-focus-noninteractive-v3x.scm
@@ -4,21 +4,26 @@
; ver. 2025-06-19
;(define (przem-soft-focus-noninteractive-v3 basout savename)
-(define (przem-soft-focus-noninteractive-v32 ask-fileglob)
+(define (przem-soft-focus-noninteractive-v3x ask-fileglob)
(let* (
- (thefiles (cadr (file-glob ask-fileglob 0)))
- (baseout (car thefiles))
- (savename (cad thefiles))
- (image (car (gimp-file-load RUN-NONINTERACTIVE baseout savename)))
+ (glob-result (cadr (file-glob ask-fileglob 0)))
+ (pattern glob-result)
+ ;(savename (cadr glob-result))
+
+ ;; Inicjalizacja zmiennych obrazu (tylko jeśli plik istnieje)
+ (image (gimp-file-load RUN-NONINTERACTIVE pattern pattern))
+
+ ;(image (car (gimp-file-load RUN-NONINTERACTIVE baseout savename)))
(selected-layers-array (car (gimp-image-get-selected-layers image)))
- (num-selected-layers vector-length selected-layers-array)
- ;(width (car (gimp-image-get-width image)))
- ;(height (car (gimp-image-get-height image)))
+ (num-selected-layers (vector-length selected-layers-array))
+ (width (car (gimp-image-get-width image)))
+ (height (car (gimp-image-get-height image)))
(active-layer 0)
(blur-radius 100)
(opacity 100)
)
+ (gimp-message (string-append "Wartość pattern to: " ask-fileglob)) ; lub użyj samego pattern jeśli podejrzewasz że to string
;(gimp-message (string-append \"baseout: \" (number->string baseout)))
;(gimp-message (string-append \"savename: \" (number->string savename)))
@@ -32,7 +37,7 @@
(gimp-drawable-merge-new-filter active-layer "gegl:gaussian-blur" RUN-NONINTERACTIVE LAYER-MODE-REPLACE 1.0 "std-dev-x" blur-radius "std-dev-y" 0.0 "filter" "auto")
; Zmień tryb mieszania na Overlay lub Screen
- (gimp-layer-set-mode active-layer OVERLAY-MODE)
+ (gimp-layer-set-mode active-layer LAYER-MODE-OVERLAY)
; Dostosuj przezroczystość
(gimp-layer-set-opacity active-layer opacity)
@@ -43,7 +48,7 @@
;(merged-layer (car (gimp-image-merge-down image active-layer CLIP-TO-IMAGE)))
;)
;(file-tiff-save RUN-NONINTERACTIVE image active-layer savename baseout 1) ; 1 - lZW
- (gimp-file-save RUN-NONINTERACTIVE image active-layer savename baseout)
+ ;(gimp-file-save RUN-NONINTERACTIVE image active-layer savename savename)
(gimp-image-undo-enable image)
;)
diff --git a/script-fu/changelog.md b/script-fu/changelog.md
index e849dd4..d9e0f4e 100644
--- a/script-fu/changelog.md
+++ b/script-fu/changelog.md
@@ -1,3 +1,6 @@
+# [2.260727-0]
+* Dodanie katalogu SNAPSHOTS dla fitrów prealpha
+
# [2.260725-1] przem-apply-waves-effect-v3x.scm
* Nie faluje obrazu