| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 4,930
» Latest member: Jamesda05
» Forum threads: 7,693
» Forum posts: 41,839
Full Statistics
|
| Latest Threads |
Gimp 3.0.6-1 G'Mic-Qt ups...
Forum: General questions
Last Post: denzjos
10 hours ago
» Replies: 2
» Views: 112
|
Issue with cut selection
Forum: Installation and usage
Last Post: kmll
Yesterday, 11:56 AM
» Replies: 2
» Views: 108
|
Colorized Layer Reverts t...
Forum: General questions
Last Post: Ofnuts
11-10-2025, 09:27 PM
» Replies: 5
» Views: 358
|
How to get G'MIC within G...
Forum: General questions
Last Post: teapot
11-10-2025, 08:04 PM
» Replies: 2
» Views: 241
|
Gimp 3.x scanner xsane pl...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: Ofnuts
11-10-2025, 08:36 AM
» Replies: 14
» Views: 11,572
|
Gimp 3.0 get Metadata wit...
Forum: Scripting questions
Last Post: Volker
11-09-2025, 06:19 PM
» Replies: 3
» Views: 280
|
Text Editor hardly ever w...
Forum: General questions
Last Post: Snacko
11-09-2025, 05:13 PM
» Replies: 4
» Views: 368
|
How to make image and mas...
Forum: Installation and usage
Last Post: Ofnuts
11-08-2025, 08:39 PM
» Replies: 5
» Views: 338
|
Multi window mode mode fa...
Forum: General questions
Last Post: teapot
11-07-2025, 01:40 PM
» Replies: 5
» Views: 474
|
Animation with only GIMP ...
Forum: Gallery
Last Post: Scut-51
11-06-2025, 11:49 AM
» Replies: 25
» Views: 23,091
|
|
|
| Accessing GIMP’s internal GEGL operations outside of GIMP |
|
Posted by: activey - 11-02-2025, 09:43 AM - Forum: General questions
- Replies (1)
|
 |
Hi everyone,
GIMP defines many custom GEGL operations with the gimp:* prefix (for example, gimp:color-balance, gimp:threshold, etc.).
As far as I can tell, these are registered programmatically inside GIMP during startup - they don’t exist as separate loadable GEGL plugins or .so files.
Is there any supported or practical way to make these gimp:* operations available to an external GEGL-based application, or to initialize the same set of operations in another process?
Specifically:
- Can GIMP’s GEGL operation registration be triggered externally (e.g. by linking or loading GIMP libraries)?
- Has anyone successfully reused these operations outside of GIMP’s runtime environment?
- Or is embedding code inside GIMP itself the only way to access them?
Any insight or code references from the GIMP source tree where these ops are registered would be very helpful.
Thanks!
|
|
|
| Outlined and filled in 3.0.6 |
|
Posted by: davidsk - 10-31-2025, 11:39 AM - Forum: General questions
- Replies (2)
|
 |
I am struggling with the recently added ability to use outlined and filled text. Sometimes it works, and sometimes it does not. As I am a novice in GIMP, the problem may be me. That is, there may be something I am failing to do. I click the icon to insert text and with the 'Filled' option, the text is visible. Then, I click the 'Outlined and filled' and nothing happens. However, a few times this has worked. Is it an inconsistency, being a new feature, or is it an inconsistency of my being a new user? Any advice on this will be much appreciated. Thank you.
|
|
|
| Can't find path plug-in |
|
Posted by: Zero01 - 10-30-2025, 09:28 AM - Forum: General questions
- Replies (7)
|
 |
Hi folks! I'm using GIMP 3.0.6 -1 (aarch64) on an X-server (Termux:X11) for Android, so that's a challenge for a start.
Literally not used the program for a couple of years(??)..since 2.10.
There is a plug-in I saved that has the following line:
menupath = '<Vectors>/Tools/Transformations/Moebius map with control of poles'
...which tells GIMP where to put to path (location) to the plugin, as I can't find it anywhere, in the Paths menu I assume the path used is outdated for GIMP3, or will a lot of plugins made for 2.10 and earlier simply not work on 3.x.x?
|
|
|
| "Plug-in crashed" on GIMP 3.0.6, Windows 11 |
|
Posted by: ManderLists - 10-28-2025, 05:29 PM - Forum: General questions
- Replies (4)
|
 |
I just downloaded and installed 3.0.6 yesterday after being prompted to install an update. However, I can't open certain files to edit them as I get the following error messages:
Quote:GIMP Message
Plug-in crashed: "file-jpeg.exe"
(C:\Program Files\GIMP 3\lib\gimp\3.0\plug-ins\file-jpeg\file-jpeg.exe)
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.
GIMP Message
Opening 'C:\Users\USER\Downloads\TestPhoto.jpg' failed:
Procedure 'file-jpeg-load' returned no return values
I found a thread referencing a similar problem so I checked to see what is in the plug-in folders under Preferences:
- C:\Users\USER\AppData\Roaming\GIMP\3.0\plug-ins (empty except the gmic plugin I tried to install)
- C:\Program Files\GIMP 3\lib\gimp\3.0\plug-ins
This is only happening with certain .jpg files -- other ones seem to open fine. The files in question can be opened with other programs though, including GIMP 2.10.
|
|
|
| Upgrade 3.0.6 |
|
Posted by: J-C R 45 - 10-28-2025, 02:46 AM - Forum: Windows
- Replies (4)
|
 |
Upgraded Gimp 3.0.4 to Gimp 3.0.6.
Gimp 3.0.6 is crashing when initialising documents.
Uninstalled & reinstalled many times, removed all Gimp from PC
still crashing.
Reinstalled Gimp 3.0.4 and working perfectly.
Any recommendation.
Thankyou
|
|
|
| A simple function to use non-linear curves in Python |
|
Posted by: Scallact - 10-27-2025, 05:20 PM - Forum: Extending the GIMP
- No Replies
|
 |
Hello,
I hit a wall when trying to convert one of my old v2python scripts making use of curves. The problem is that the curves_spline(...) API function works in linear space, with no option to use curves in non-linear space. Designing curves in linear space is a nightmare, so don't even start me on this ;-)
Simply converting the curves coordinates to linear don't work, as x values are compressed to the left, and the result is very, very ugly. The right way to do it would be to sample many points along the curve, by applying the Catmull-Rom splines algorithm, but these splines require 4 points to work, and I have no idea how GIMP calculates the first and last segments.
It seems I'm not the only one on the internet with this problem since 3.0, and all questions of this kind are generally left unanswered, so I wanted to share a mildly clever little hack I found here.
The idea is to transform the coordinates values to linear, apply the non-linear spline curve, and transform back the values to the original non-linear space.If you find this back-and-forth confusing, so do I, but after much brain storming and many tests I can say that it works really well... except for 8 bits integer images which really don't like 3 consecutive operations in linear space!!! (please keep that in mind)!
Here is my code. Reuse it as you wish!
Code:
def srgb_curves_spline(drawable, channel, spline) :
# GIMP 3.0 API curves functions only work in linear space. This function is a hack
# to reproduce the effect of a non-linear srgb spline curve.
# IMPORTANT: this function does NOT work well with 8 bits integer images.
# The "spline" parameter is a list of x y coordinates of the spline points.
# See the GIMP API doc for the channel parameter...
# example: 'Gimp.HistogramChannel.VALUE' (without quotes)
# Non-smooth points are not supported.
# License is GPL3: http://www.gnu.org/licenses/gpl.html
samplecount = 1024 # count of equidistant samples in linear space
linofx_curve = []
srgbofx_curve = []
i = 0
while i < samplecount :
# current step in linear space
xlin = float(i) / (float(samplecount) - 1.0)
# srgb to linear
if xlin < 0.0031308 :
linofx_curve.append( xlin * 12.92 )
else :
linofx_curve.append( 1.055 * xlin**(1.0/2.4) - 0.055 )
# linear to srgb
if xlin < 0.04045 :
srgbofx_curve.append( xlin / 12.92 )
else :
srgbofx_curve.append( ( (xlin+0.055)/1.055 )**2.4 )
i += 1
# end while
# apply the curve surrounded by a back-and-forth to linear space values
# note that we don't change the color space of the image, it's just en intermediate
# representation of values
drawable.curves_explicit(channel, linofx_curve)
drawable.curves_spline(channel, spline)
drawable.curves_explicit(channel, srgbofx_curve)
return
Notes:
The default "srgb" color space is used for the non-linear space. If you really need curves in other spaces, change the transfer functions accordingly.
You can tweak the "samplecount" parameter for performance (down to 256). The value chosen (1024) ensures good quality conversion of dark values, but 256 is perfectly acceptable.
|
|
|
|