I am new to GIMP and scripting. I would like to know how to apply Gaussian blur for a layer using script. I could not find any simple example describing my requirement. I am using GIMP version 2.10.4. Please let me know how to apply Gaussian blur for a layer. Thanks.
(let* (
(newimage (car (gimp-image-new 192 192 0)))
(newlayer (car (gimp-file-load-layer 0 newimage "D:\\t.png")))
(clayer (car (gimp-layer-copy newlayer 1)))
)
(gimp-image-add-layer newimage newlayer 0)
(gimp-image-select-color newimage CHANNEL-OP-REPLACE newlayer '(0 0 0))
(gimp-context-set-foreground '(9 77.9 95.3))
(gimp-edit-fill newlayer FOREGROUND-FILL)
(gimp-image-add-layer newimage clayer 0)
(gimp-image-select-color newimage CHANNEL-OP-REPLACE clayer '(0 0 0))
(gimp-context-set-foreground '(255 255 255))
(gimp-edit-fill clayer FOREGROUND-FILL)
///
here I want to apply Gaussian blur. I couldn't find the script command for it.
//////
(gimp-selection-none newimage)
(gimp-display-new newimage)