09-23-2019, 06:12 PM
Hi everyone,
I have downloaded GIMP, and know nothing about it yet, except it supports scripting. Can anybody tell me if it can be used as a tool for my specific purpose?
I am thinking about developing software. Users of this, can load photo's, each of which are (optionally scaled) placed somewhere in the result, which will be a photo collage. To figure out if such software is of any use, and to test in practice how it would "feel", I was thinking about setting up an experimental quick&dirty test set-up.
I will run my own program, written in C, having its own UIF to let the user define the photo collage. It generates a GIMP script file. I just read this should be in Scheme/Script-Fu, which I figure will be in ASCII format? After this, GIMP should load the script and execute it, to see the final result. If all this is possible, it wil be very unworkable, however my goal is to setup a quick&dirty environment, only to orientate myself about developing software for the photo collage.
I only need three script commands: load photo (name), scale it (width, length) and place it (x, y). These will be repeated for each photo. (after learning GIMP, maybe GIMP can do the full job all on its own without my external C code?)
My two questions:
- Do these three script commands exsist? (I also might need "new": erase all previous content)
- How to load the script file in GIMP and run it?
very many thanks for any feedback!
I have downloaded GIMP, and know nothing about it yet, except it supports scripting. Can anybody tell me if it can be used as a tool for my specific purpose?
I am thinking about developing software. Users of this, can load photo's, each of which are (optionally scaled) placed somewhere in the result, which will be a photo collage. To figure out if such software is of any use, and to test in practice how it would "feel", I was thinking about setting up an experimental quick&dirty test set-up.
I will run my own program, written in C, having its own UIF to let the user define the photo collage. It generates a GIMP script file. I just read this should be in Scheme/Script-Fu, which I figure will be in ASCII format? After this, GIMP should load the script and execute it, to see the final result. If all this is possible, it wil be very unworkable, however my goal is to setup a quick&dirty environment, only to orientate myself about developing software for the photo collage.
I only need three script commands: load photo (name), scale it (width, length) and place it (x, y). These will be repeated for each photo. (after learning GIMP, maybe GIMP can do the full job all on its own without my external C code?)
My two questions:
- Do these three script commands exsist? (I also might need "new": erase all previous content)
- How to load the script file in GIMP and run it?
very many thanks for any feedback!