Hey there,
I've been experimenting with both Script-Fu and Python-Fu for a while now. I think I have a simple Script-Fu which allows the user to create a new RGB image, specifying the width and height (up to 4096px), the image depth (up to 1000), and the foreground and background colors from a single GUI. It adds a single layer filled with the specified background color to the new image. The foreground and background colors are not returned to their prior states after the script has run. The script works with Gimp 2.8.8/Windows 10. The linefeeds are terminated with CR+LF, so they may need to be converted before running on a Mac or *nix machine.
Once installed, the script is found at File > Create > New RGB image > Make new RGB image.
Please download it and give it a try; I'd like to know if it works for others. Please let me know your Gimp version, OS and OS version, and whether you had to convert the linefeeds and/or do anything else before it worked for you (or if it didn't work). Also, let me know whether the script might be of practical use to anyone or if it's just a proof-of-concept thing. Suggested improvements are also welcome if it might be useful.
Thanks, hnd
|