918 questions
-1
votes
0
answers
64
views
Issues triggering Colorize filter in GIMP via Python script
I'm trying to write a custom Python script to help automate the process by which I generate normal maps for a game.
Example of what I'm trying to speed up: Base palettized image > Normal map
The ...
2
votes
1
answer
111
views
In Gimp 3, how to use `curves_spline` and `HISTOGRAM_VALUE` in Python-Fu plug-ins?
I am currently trying to upgrade some Python plug-ins from Gimp 2.10.x to Gimp 3.0.6 (Windows). This is a lot harder than I thought.
I have posted example code for one of the plug-ins at the end of ...
3
votes
0
answers
75
views
in windows/C# how to open pipe and get an IOChannel from them?
I'd like to build a fake Gimp host in C# to query/run windows gimp plug-in.
For reference, at the end of this message, you'll find what I understood of the protocol to talk to a Gimp plug-in.
To do ...
0
votes
1
answer
108
views
How to apply a high pass filter in GIMP using a python plug-in? And gaussian blur?
How to apply the high-pass filter in a Python plug-in for GIMP?
There is no high-pass filter in the procedure browser, and gegl:high-pass does nothing.
Similarly, how to apply gaussian blur?
0
votes
1
answer
99
views
How to set a `GimpCoreObjectArray` property in Python - GIMP 3 [closed]
I am trying to call the file-pdf-export-multi procedure which takes an argument images of type GimpCoreObjectArray. I have tried setting it to an array of Gimp.Image. However, this throws the ...
0
votes
1
answer
268
views
How to create an "Open file" dialog box in Python for a GIMP 3 plugin with GIMP 3 style/colors?
I recently got into the world of plugins for GIMP 3, but I have a good knowledge of Python programming. I'm creating a plugin where I need to select .txt files to extract some information. Since I ...
0
votes
1
answer
249
views
How to interate about files by batch processing in GIMP 3.X?
see the following script. It works with GIMP 2.10 but doesn't witch GIMP 3.X.
(
define (brightness-contrast-multi pattern brightness contrast) (
let* (
(filelist (cadr (file-...
0
votes
1
answer
81
views
gimp-layer-translate: Invalid type for argument 1
I am trying to write a spritesheet packing script for gimp
er it is:
(define pack-sprites
(let* (
(cols 5)
(rows 3)
(sprite_width 750)
(sprite_height 1026)
(image (car(vector->...
1
vote
1
answer
105
views
GIMP_wire_read error upon adding python script in correct folder
I am trying to learn GIMP 2.10.38 with python and I don't know either that well, so I tried adding a simple python script but it doesn't show up in GIMP at all. Here is the script I added:
#!/usr/bin/...
1
vote
1
answer
49
views
Last letter of name of GIMP brush missing, when created with Python
I would like to create a (python) script, that takes an 2D-Array and converts it to a GIMP-brush in the .gbr format. I used the informations on the GIMP Developer Page to create a Bytestring that ...
-1
votes
1
answer
457
views
Exporting with correct size and resolution in GIMP
When i do the following thing manually: go to image, scale image, change the x resolution 600 dpi and the y resolution to 600 dpi. The width and height change accordingly to the proper size in mm. If ...
0
votes
1
answer
499
views
Python Gimp plugin failing to register - gimp_wire_read() error
I'm attempting to write a Python plugin for Gimp (2.10.38). Right now, it is absolutely barebones to just register the function and run main, but it is failing to register and show up in the program.
#...
0
votes
1
answer
178
views
Resize and convert a SVG image using a gimp script
I'm using gimp 2.10 on a Debian 12 system.
I need to use gimp because, after some manuals tests using gimp graphical interface, I noticed the quality of resized/converted images is better than with ...
3
votes
0
answers
158
views
How to apply Gimp3 layer mask with Gegl 0.4? (or: How to use gegl:opacity?)
Problem
Use Gegl to apply a layermask in Gimp2.99
Gimp project structure
desired result
UPDATE
This is an aproximation towards the result I would like to get, but the problem is not solved, yet. I ...
1
vote
0
answers
56
views
Why doesn't this python plugin show up in my filters menu?
I'm trying to code a Python Fu plugin for GIMP, but it doesn't appear in my menus. Is there a mistake in my code? How can I fix this? Thank you a lot for reading me!
#!/usr/bin/env python
from gimpfu ...
