155 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
30
views
GIMP3 Cannot launch script-fu on macOS; the script console will not work
I have used a published sample 'Hello World' script-fu script to test this.
I put the file in a script folder that is listed at the top of the script Folder list in GIMP Settings.
I put the (.scm) ...
0
votes
1
answer
207
views
How to interate about files by batch processing in GIMP 3.X?
see the following script. It works with GIMP 2.10 but doesn't witch GIMP 3.X.
(
define (brightness-contrast-multi pattern brightness contrast) (
let* (
(filelist (cadr (file-...
0
votes
0
answers
188
views
Script-Fu GIMP3 - Export JPEG
I have a Script-Fu working flawless in GIMP 2.10 but in GIMP 3 is failing due to some updates in the latest version. I updated most of my script but the last part is not working well and I'm very ...
0
votes
1
answer
70
views
gimp-layer-translate: Invalid type for argument 1
I am trying to write a spritesheet packing script for gimp
er it is:
(define pack-sprites
(let* (
(cols 5)
(rows 3)
(sprite_width 750)
(sprite_height 1026)
(image (car(vector->...
0
votes
1
answer
103
views
Is there a way to change the active tool assigned to a device using Script-Fu?
I want to create a toggle key to switch between two frequently used tools.
I thought I could switch the active tool using "gimp-context-set-paint-method," but it seems that this only changes ...
0
votes
1
answer
115
views
So weir in script-fu, cadr function not work
> (cadr '(1 2 3)) Error: eval: unbound variable: cadr
I think who are familiar with script-fu should think as i am, this is so weir. Just few day ago, i ran some thing like "cadr" or even ...
0
votes
1
answer
105
views
How generate scriptfu scheme code in GIMP?
Gimp has script-fu for scripting code in Scheme. But i don't know does ít has the reverse function? It mean, when i draw or do something, can it generate scheme code or any language parallel with that ...
user avatar
user21539529
0
votes
1
answer
81
views
Attempting to script the addition of a small logo on top of a QR code using GIMP and Script-Fu. Second image doesn't show
I'm looking to automate the addition of a small PNG at the centre of a much larger PNG using GIMP (2.8) and its Script-Fu language. The first image provided in the procedure call always shows, but the ...
1
vote
1
answer
1k
views
How can I export an image with Script-Fu to the folder with the GIMP file?
My Script works, but the exported file will be saved in my user folder. How can I automatically export the .png to the folder with my GIMP file?
(define (script-fu-biz-scale Image Layer Drawable)
(...
0
votes
1
answer
269
views
how to select and manipulate a portion of text inside a text layer using python-fu
I wrote a gimp python plugin to create an image, add a text layer, and write some text into it. Similar to this one.
I want to apply a different formatting to a portion of this text but I can't find ...
0
votes
2
answers
163
views
Gimp won't run on cloud run but works from local dockers image
As the title states, I'm trying to run gimp through a Node.js docker image. I have this working locally, however I get the following error trying to run gimp commands while it is being deployed on ...
1
vote
1
answer
176
views
how would I turn a "magic-wand" selection into a path object in GIMP using batch scripting
As the title suggest, how would one perform this?
Right now I have this plugin to add a basic path to an image, but how do I convert a selection from "gimp-image-select-contiguous-color" ...
0
votes
1
answer
645
views
Get error on 'gimp-image-set-active-layer' when trying to use script-fu-drop-shadow
I would like to add a drop shadow to picture files without using the Gimp UI. I've saved this content to ~~/.config/GIMP/2.10/scripts/my.scm~:
(define (my/add-drop-shadow filename)
(let* ((image (...
0
votes
1
answer
371
views
What is the error in this GIMP Script-fu code?
I'm new to Script-Fu and am trying to write a script which takes in a layer name and color and recolors all black pixels in that layer the specified color. My code is below. I register it using script-...
0
votes
0
answers
145
views
How to auto close DarkTable when loading RAW files via Gimp script-fu?
If invoking Gimp script-fu from a batch file and passing a RAW file (.dng) as the input filename, DarkTable opens upon executing the command (gimp-file-load RUN-NONINTERACTIVE filename filename). The ...