Need Scottish fabric in your graphic composition? Tartanmaker can help you : http://www.tartanmaker.com/?page=index. The result is available as png file.
Backgrounds. No idea ? This site can help you : http://bg.siteorigin.com. The user have control over any colour, many patterns, blend mode, pattern intensity, noise, invert the pattern and scale it up 2 times. The result can be saved as a png file. Pay attention, the file is saved as file.png'. So you have to delete the ' in the extension so you can use the file in gimp to further pimp the creation.
After some great help from this forum I've nailed down my Gimp plugins and bash shell commands. However I want to launch them from a shell script and they're failing from there.
GIMP is started as MacOS application
2021-03-20 23:44:41.568 gimp[68881:966437] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
/applications/GIMP-2.10.app/contents/macos/gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
GIMP-Warning: The batch interpreter 'python-fu-eval' is not available. Batch mode disabled.
gimp_check_updates_callback: loading of https://www.gimp.org/gimp_versions.json failed: Operation not supported
Any thoughts on what I could do differently?
Starting with "open" at the beginning doesn't work because then it treats my command line parameters as parameters for "open" and not for Gimp.
I set out on the task, as described in the Subject Line, to modify an 8 x 8 -points subject. I find that I not only misunderstand those methods, but can't even isolate the pixels of interest.
I have some familiarity with Color Mapping, Color Exchange, Rotation, Levels, Colorize, etc. But I'll be damned if I can operate on ONLY the intended region.
The attached 1) Starting Point shows a Grays 'center dot', which I seek to shift to Greens.
I wish to affect only the region depicted in 2) Intended Selection, selected via Select > By Color.
When 3) Copied, and Pasted as New Image - Alpha blend is evident, which is grand, as the shading is intact. But so is there a shaded background, which I wish to exclude, as depicted in
4a) But so is background, bleeding through - Untitled, and
4b) But so is background, bleeding through - Untitled.png
– – –
I've a feeling I needn't even extract that center-dot as a separate 'frame' to work in, but that would seem irrelevant –– when I get it shifted to Greens, I'll just paste it back in the Starting Point image.
What is it[s] I'm missing about simply selecting a region, to copy-and-paste, for modification. Why is the background haunting me, and won't let go?
Also, any hints on the overall objective are warmly welcomed.
I need help with the resynthesizer plug-in and in particular Heal transparency code. It works perfectly fine with all my images except for a new batch that i received recently. The error and messages are: GIMP Message:
Plug-in 'Heal selection' left image undo in inconsistent state, closing open undo groups.
Plug-in crashed: "resynthesizer" (/home/ariotta/.config/GIMP/2.10/plug-ins/resynthesizer) The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side.
Calling error for procedure 'plug-in-resynthesizer': Procedure 'plug-in-resynthesizer' returned no return values
An error occurred running python_fu_heal_transparency:
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 740, in response dialog.res = run_script(params) File "/usr/lib/gimp/2.0/python/gimpfu.py", line 361, in run_script return apply(function, params) File "/home/ariotta/.config/GIMP/2.10/plug-ins/plugin-heal-transparency.py", line 59, in heal_transparency pdb.python_fu_heal_selection(timg, tdrawable, samplingRadiusParam, 0, orderParam, run_mode=RUN_NONINTERACTIVE) RuntimeError: execution error
In connection with troubleshooting my bigger project (thread here: https://www.gimp-forum.net/Thread-Gimp-P...d-question) I'm trying to create a really simple plugin to open an XCF file in the GUI. Eventually I will make this non-interactive and make it a wrapper to launch my other function, but for now I just want it to open the GUI and use pdb.gimp_xcf_load to open my XCF.
I know definitions are not completely needed, but having them seems to make it easier to call a function from the command line, so I have a definition for now.
The command line opens the Gimp UI, but doesn't open my XCF, and throws some errors. Any idea what I'm doing wrong here in this very simple plugin?
except Exception as err:
gimp.message("Unexpected error: " + str(err))
register(
"python_fu_open_xcf",
"Add image to layer",
"Add image to layer and flatten.",
"TCB",
"TCB",
"2021",
"<Image>/Filters/Tim/Open XCF",
"*",
[
(PF_FILE, "file", "XCF file to open", ""),
],
[],
open_xcf)
main()
Terminal output:
Code:
GIMP is started as MacOS application
2021-03-18 23:02:16.722 gimp[9241:136602] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id or /etc/machine-id: Failed to open file “/var/lib/dbus/machine-id”: No such file or directory
/Applications/GIMP-2.10.app/Contents/MacOS/gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
gimp_check_updates_callback: loading of https://www.gimp.org/gimp_versions.json failed: Operation not supported
Traceback (most recent call last):
File "/Applications/GIMP-2.10.app/Contents/Resources/lib/gimp/2.0/python/gimpfu.py", line 827, in _run
return apply(func, params[1:])
File "/Applications/GIMP-2.10.app/Contents/Resources/lib/gimp/2.0/plug-ins/python-eval.py", line 25, in code_eval
exec code in globals()
File "<string>", line 1
(python_fu_open_xcf "/Users/TimB/Desktop/template.xcf")
^
SyntaxError: invalid syntax
batch command experienced an execution error
Hi,
I am on macbook pro Big Sur, I am using gimp 2.10 and trying to install plug-in from Da Big Gimping.
I followed a persons instructions but was unable to get it installed.
Steps opened gimp
preferences
Folders
plugins folder see attached screen shot.
Closed program after reopened gimp still not showing up.
Help Please
I have a working Gimp plugin that takes an open XCF, adds a new layer to it, positions the new layer, and then exports a JPG.
However, the plugin only works if I'm in the Gimp UI and the XCF file is already open. I want to run it from the command line and some how call pdb.gimp_xcf_load somewhere top open the XCF, but I can't get the file open or command line to work.
What is the best way to do this? Should I have a wrapper script that opens the XCF and then calls my working script? Or can I both open the XCF and the JPEG in a single plugin? Is there a best practice?
I'm using GIMP 2.10 on Windows 10, and I haven't done anything about the default Scripts location: C:\Program Files\GIMP 2\share\gimp\2.0\scripts
There are theoretically 53 .scm files in this folder, all but one added by the GIMP Installer, but nothing shows up in Filters > Script-fu except "Console", "Refresh Scripts" and "Start Server"
This folder is listed in Edit > Preferences > Folders > Scripts, so it *should* work, right? Am I missing something elementary?