Welcome, Guest |
You have to register before you can post on our site.
|
|
|
Unable to build gegl from source |
Posted by: lorange - 01-03-2024, 04:15 PM - Forum: Linux and other Unixen
- Replies (1)
|
|
Hello everyone, I would like to use the AI plugins for gimp and I'm trying to install the packages (babl and gegl) and gimp from source following https://github.com/intel/openvino-ai-plugins-gimp
Unfortunately I get to an error when building gegl. Below is the final part of the error:
Code:
FAILED: tools/exp_combine.p/exp_combine.cpp.o
c++ -Itools/exp_combine.p -Itools -I../tools -I. -I.. -Igegl -I../gegl -Igegl/buffer -I../gegl/buffer -Igegl/graph -I../gegl/graph -Igegl/module -I../gegl/module -Igegl/opencl -I../gegl/opencl -Igegl/operation -I../gegl/operation -Igegl/process -I../gegl/process -Igegl/property-types -I../gegl/property-types -I/usr/local/include/babl-0.1 -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu++14 -O2 -g -DHAVE_CONFIG_H -Ofast -DGEGL_ENABLE_DEBUG -Winit-self -Wmissing-declarations -Wpointer-arith -Wno-unused-parameter -Wno-cast-function-type -ftree-vectorize -pthread -MD -MQ tools/exp_combine.p/exp_combine.cpp.o -MF tools/exp_combine.p/exp_combine.cpp.o.d -o tools/exp_combine.p/exp_combine.cpp.o -c ../tools/exp_combine.cpp
../tools/exp_combine.cpp: In function ‘gfloat expcombine_get_file_ev(const gchar*)’:
../tools/exp_combine.cpp:71:5: error: ‘gexiv2_metadata_try_get_exposure_time’ was not declared in this scope; did you mean ‘gexiv2_metadata_get_exposure_time’?
71 | gexiv2_metadata_try_get_exposure_time (e2m, &nom, &den, &error);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gexiv2_metadata_get_exposure_time
../tools/exp_combine.cpp:74:14: error: ‘gexiv2_metadata_try_get_fnumber’ was not declared in this scope; did you mean ‘gexiv2_metadata_get_fnumber’?
74 | aperture = gexiv2_metadata_try_get_fnumber (e2m, &error);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gexiv2_metadata_get_fnumber
../tools/exp_combine.cpp:77:7: error: ‘gexiv2_metadata_try_has_tag’ was not declared in this scope; did you mean ‘gexiv2_metadata_has_tag’?
77 | if (gexiv2_metadata_try_has_tag (e2m, "Exif.Image.ISOSpeedRatings", &error))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| gexiv2_metadata_has_tag
../tools/exp_combine.cpp:79:14: error: ‘gexiv2_metadata_try_get_iso_speed’ was not declared in this scope; did you mean ‘gexiv2_metadata_get_iso_speed’?
79 | gain = gexiv2_metadata_try_get_iso_speed (e2m, &error) / 100.0f;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gexiv2_metadata_get_iso_speed
[16/1015] Compiling C object operations/common-gpl3+/gegl-common-gpl3.so.p/mosaic.c.o
ninja: build stopped: subcommand failed.
Am I missing anything obvious? My laptop has an intel CPU and nvidia (quadro) GPU
Thank you very much for your help
|
|
|
Layers Disappear |
Posted by: adwhitewolf - 01-03-2024, 02:01 PM - Forum: General questions
- Replies (1)
|
|
Hi guys. I have gimp 2.10.36 running on a 2018 iMac. My image is 1024x1024. I made one multi layered image without issues. The second image I tried to create gave me some problems. I right click on a layer in the layers window and create a new layer. I have it set and don't change the default. Most of the time, a new transparent layer appears and I can edit that layer and it won't affect the others below. Today, I have 5 layers and I tried to make layer 6 but everything disappears from the screen. This is only for layers below the newly created layer. If I create the layer at the very bottom, the rest of the layers are fine. If I create a new layer on the top of the stack, everything under it disappears. I have no idea what's going on. Can someone offer some insight as to what's going on and how I can fix it?
Thanks
|
|
|
500 times the same font |
Posted by: gimpoid - 01-02-2024, 06:36 PM - Forum: General questions
- Replies (5)
|
|
Hello!
When I open up the font selection dialog in gimp, I see about 599 entries with the name "Noto Sans ... " and something or the other, with an interesting looking thumbnail to the left. However, when cycling through all these fonts, the appearance of the text never changes. It's an almost comically bad user experience. It probably has something to do with localization or whatever, but .. yes it needs to be fixed. I'm scrolling through a single list with 1000nds of fonts, all looking exactly identical. This is the wrong way. It could be so simple, just let the user put fonts in a folder, and browse the folder from within the font dialog...
I looked into hacking a way around this, like manually editing the tags.xml file but... not convenient.... If there are any other options, I'd love to hear about them. (adding tags via the interface, makes the interface freeze up.)
thnx !
ps I'm running linux mint 21.2
|
|
|
Threading / Loops in Python Plugin |
Posted by: JBreckeen - 01-01-2024, 05:11 PM - Forum: Scripting questions
- Replies (13)
|
|
Hello all.
I have been using Gimp for work for a while now, but never got into building plugins for it - though I do code Python for other programs and plugins. Sorry for this long post, but it is complicated (to me at least)
Want I am trying to do is to integrate Gimp into my graphics pipeline. This entails making a plugin so that my outside pipeline software can communicate and execute some simple Gimp functions such as .xcf save and file export. And inside Gimp, I would like my menu items to be able to execute functions in my pipeline software such as call other scripts.
I understand Gimp 2.10 uses Python 2.7, but I need to use Py3.9 for my external software . I have managed to insert a menu and items into Gimp, and can get it to execute functions--uphill battle but woohoo!
The issue is I need the Gimp plugin to communicate with my pipeline. So the first issue I have is the Py mismatch. My solution was to use a bridge script, and it works statically. Basically, Gimp loads the plugin, and the plugin launches the bridge script in a Py3.9 process and I am able to execute functions both ways. But I need dynamic comms between the two. I tried sockets but could not get that to work in Gimp. So I then fell back to the old .json file, but I need a non-blocking way to check for the command file inside Gimp. I then tried using a thread for the checking loop which works, but that thread cannot then execute anything in the main Gimp thread (at least that is where I am at).
So the question is: can I get it so Gimp will have comms with an outside script? Is there a way to have a thread launched under the Gimp plugin to be able to execute in the main Gimp thread?
Hopefully that makes sense, and I can provide code if needed. I did not include it since it is not working anyway . . .
Thanks in advance,
JBreckeen.
|
|
|
No chance to save a picture into original *.jpg file and format? |
Posted by: clsven - 12-29-2023, 12:40 PM - Forum: General questions
- Replies (3)
|
|
A frequent situation: I load a *.jpg images and applied some changes.
Then I press the good old standard key combination <Ctrl> + S to save it into the original *.jpg file.
As I noticed I can save such images only into *.xcf format.
If I want to save it into *.jpg or *.png format I have to export it with an annoying intermediate dialog
with some additional required mouse clicks.
Is there no way to swap the meanings?
Ctrl+S IS the standard to save something into original file.
And export to save it to something different.
Having to remember the different meaning in Gimp interrupts my workflow and is user unfriendly.
Claudia
|
|
|
|