Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 4,582
» Latest member: Lindabax
» Forum threads: 7,456
» Forum posts: 40,742
Full Statistics
|
|
|
VDF in GIMP |
Posted by: Winston - 04-23-2021, 12:46 AM - Forum: General questions
- Replies (10)
|
 |
Is it possible to use VDF plugin video effects as picture effects in GIMP, and if not, could you add the feature? Could I convert a VDF to PY somehow? Could I download a plugin and open as an effect, and type the path and open VDF in GIMP?
Yes, I know, videos are in motion. At least applying as 1 frame might work... Right?
|
|
|
Remove plain background, set it transparent |
Posted by: bobJ - 04-22-2021, 10:07 PM - Forum: Scripting questions
- Replies (4)
|
 |
Hello,
I have 1500 png to process so I'm searching a script/plugin to do this.
Given a png, I would like the script to do the following:
- do a magic selection (wand/fuzzy) with starting point coordinattes 1,1 (I know this pixel is the background color)
- remove this selection and have transparency instead
I tried this script in a plugin via BIMP:
Code:
def plugin_use_fuzzy(timg, tdrawable):
pdb.gimp_layer_add_alpha(timg)
pdb.gimp_image_select_contiguous_color(timg, 0, tdrawable, 1, 1)
sel = pdb.gimp_image_get_selection(timg)
pdb.gimp_edit_cut(sel)
But it does nothing.
Could you help me please?
|
|
|
GIMP V2.99.4 Flatpak Python Issue |
Posted by: programmer_ceds - 04-22-2021, 04:49 PM - Forum: Extending the GIMP
- Replies (11)
|
 |
I have installed V2.99.4 flatpak and can run this or V2.10.24 as I wish but not quite in the way suggested where you have to use a flatpak command to select the version that is to be run (beta or stable). If I use the command to select the beta version the Menu/Graphics/GNU Image Manipulation Entry always starts V2.10.24. To start V2.99.4 I have a bash script. I'm not sure that this is relevant to the issue noted below.
When I start V2.99.4 in a terminal window I see the following error message:
Gtk-Message: 17:32:23.772: Failed to load module "xapp-gtk3-module"
So far as I can tell I have this module installed (file usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libxapp-gtk3-module.so exists)
I have also taken the text for the Python Goat exercise and renamed all occurrences of 'goat' to 'goatee' and placed the file in a subfolder of the user plug-ins folder but it doesn't appear in the GIMP menus. Initially I made the mistake of placing it directly in the plug-ins folder and received a warning from GIMP - so it is looking in the user plug-ins folder.
The latest version of the python goat exercise script, as downloaded from the gitlab site, contains statements that it relies on Gimp 3.0 and GimpUi 3.0 - I have tried changing these to 2.99 since that is the beta version - this had no effect.
Has anybody else had more success in this respect?
I thought I would go through the scripts that I have written and those that I have downloaded from elsewhere and update them for GIMP 3 if I could (starting off by running them in V2.10.24 with the --pdb-compat-mode=warn option to report deprecated scripts). I have successfully updated all the .scm files - some run without a problem but many fail with the (known) error message about GimpObjectArray being an unknown return type - I think I just have to retest these when V2.99.6 becomes available. However, as noted above I have hit a problem with the .py files.
|
|
|
|