akkana / gimp-plugins Goto Github PK
View Code? Open in Web Editor NEWGIMP plug-ins, scripts and helpers
License: GNU General Public License v2.0
GIMP plug-ins, scripts and helpers
License: GNU General Public License v2.0
Hi. I would like to translate saver.py to Dutch (all strings). What's the best way?
When starting the Saver plugin in GIMP 2.10.8 (Ubuntu) I get:
Querying plug-in: '/home/wanted/.config/GIMP/2.10/plug-ins/saver.py'
gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
Terminating plug-in: '/home/wanted/.config/GIMP/2.10/plug-ins/saver.py'
and the plugin is not working.
It seemed to work well if I filled in a percentage.
It should allow the percentage to be a float value. I tried tweaking the percentage to get the exact width I wanted.
It got really confused if I tried to change the width or height directly. Clicking on width or height and hitting delete to remove the last character inserted a 0, and set the percentage to 0 and the width to 0. If I deleted that 0, then it went back to showing 100% width.
This is Gimp 2.8.2 Python 2.7.3 on Fedora 17.
Thanks thanks thanks for save-export-clean.py plug-in!
I think that this change in Gimp was a veeery bad idea.
Thanks again.
Several people have commented that save-export-clean saves only the current layer. If there are multiple layers and we're saving to a format other than XCF, we should flatten. Preferably without pestering the user with dialogs, because if we're saving to jpg, of course we want to flatten, duh!
line 228, in python_export_scaled
pdb.gimp_image_merge_visible_layers(copyimg, CLIP_TO_IMAGE)
NameError: global name 'copyimg' is not defined
Saved an image other than .xcf.
Also no text was being displayed in the SpinButton boxes when the dialog was shown.
I had to add second argument to SpinButton constructor to have the text shown.
percent_e = gtk.SpinButton(adj, 0)
width_e = gtk.SpinButton(adj, 0)
height_e = gtk.SpinButton(adj, 0)
I just came across this - a real time saver. Unfortunately, I'm having problems getting it to work. When I 'Export Scaled...' via the menu, I choose a path and filename, but no files are created. Instead, I see a new 'Untitled' image in the Images list, and I can open a new view and then save it. But that's almost as much effort as before!
I'm using GIMP 2.8.14 (portable, if that makes any difference). Just wondering if perhaps something has changed on the GIMP side that would stop it working...
Hello. Many thanks for your cutout plugin. I wish it were built-in.
Anyhow, I'm using it with GIMP 2.8.22 on Kubuntu Bionic LTS.
I find that if I make a selection touching three sides of an image, and try to run the operation on it, the plugin gives an error:
Plug-In 'Cut out selected band' left image undo in inconsistent state, closing open undo groups.
Then a separate message:
Calling error for procedure 'gimp-edit-paste':
Procedure 'gimp-edit-paste' has been called with an invalid ID for argument 'drawable'. Most likely a plug-in is trying to work on a layer that doesn't exist any longer.
After this, the Undo History shows as if I tried to do a full image select and then tried to apply the filter.
Granted, the plugin isn't really needed for removing that kind of a selection and we can just do invert + crop, but it really isn't that elementarily different from making a slice selection in the process of removing unwanted parts of an image, and it shouldn't throw a weird error anyhow.
Hope this can be fixed.
(BTW you have a comment that says it's ridiculously difficult to make a selection to exactly the height or width of an image. But it's not really difficult. You just have to zoom out and you can select from outside the image bounds and it will result in full-width/height selection. Just mentioning in passing.)
Hi.
I'm thinking about creating a plugin, but there is no set date for its release. The general idea is to have a way to synchronize my gimp settings on the nostr distributed network. Before developing something in gimp, I want to know if you want to add new plugins here.
Do you accept a new plugin?
I would like to hide the native save and export options in the File menu. Otherwise the menu becomes a bit of a mess.
Sorry for this newbie question.
I open the picture with text layer (xcf). Then I open Python-Fu
in Filter
. In the console, I enter pdb.python_fu_change_font("apartment_maps.xcf-1.0", 11, "Sans")
. But it shows NameError: name 'apartment_maps' is not defined
Why?
open a new image, don't save, just click file→export scaled
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 807, in _run
res = apply(func, params[1:])
File "/home/username/gimp-2.8/plug-ins/export-scaled.py", line 106, in python_export_scaled
chooser.set_current_name(os.path.basename(init_filename))
File "/usr/lib/python2.7/posixpath.py", line 112, in basename
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
Hi,
does changefont.py still work with Gimp 2.8.22?
I installed the plugin. If I click Filters->generic->Change Font in all Text layers a window opens where I can fill in a new font size/a new font.
But after clicking OK none of the text layers in my image changed size/font.
It would be great to get this amazing plugin to work.
I am running GIMP 2.99.16-2 (downloaded from the GIMP site) on a Mac Studio, with MacOs Sonoma 14.3.1. I downloaded your script; mkdir'ed a new directory in GIMP/2.99/plug-ins/ named arrowdesigner; copied the arrowdesigner.py file there; chmod a+x the file; and started GIMP. Actually, "Arrow Designer" shows itself in Files > Render.
I loaded a JPG file, and tried to run arrowdesigner both with and without a rectangular selection; nothing happens.
Then I opened the python console, and tried to run arrowdesigner interactively; I got the following output:
GIMP 2.99.16 Python Console
Python 3.10.12 (main, Jun 14 2023, 16:51:03) [Clang 14.0.3 (clang-1403.0.22.14.1)]
>>> Gimp.get_pdb().run_procedure('python-fu-arrow-designer', [ Gimp.RunMode.INTERACTIVE, image, num_drawables, drawables, angle, size, direction])
Traceback (most recent call last):
File "<input>", line 1, in <module>
NameError: name 'image' is not defined
>>>
Any suggestion?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.