[Gegl-developer] Is gegl_buffer_* aware of source color profile?

2020-01-21 Thread JonnyRobbie via gegl-developer-list
For example, let's say I'm developing a gimp plugin and I'm using gegl_buffer_iterator_* to get the data. And I want to manipulate the data in profile connection space CIE xyY. I have: ``` ... GeglBuffer *buffer; const Babl *format; GeglBufferIterator *iter; buffer = gimp_drawab

Re: [Gegl-developer] Is gegl_buffer_* aware of source color profile?

2020-01-25 Thread JonnyRobbie via gegl-developer-list
On Tue, Jan 21, 2020 at 9:49 AM JonnyRobbie via gegl-developer-list " wrote: > > For example, let's say I'm developing a gimp plugin and I'm using gegl_ buffer_iterator_* to get the data. And I want to manipulate the data in profile connection space CIE xyY. I have: If

[Gegl-developer] gegl:convert-space

2020-11-17 Thread JonnyRobbie via gegl-developer-list
Is gegl:convert-space operation working properly? Is there a particular reason it is not building yet in the master? What can I expect if I add it to gegl_core_sources array in operations/core/ meson.build? m ___ gegl-developer-list mailing list Li

Re: [Gegl-developer] gegl:convert-space

2020-11-18 Thread JonnyRobbie via gegl-developer-list
"GIMP does not yet make use of GEGLs color management, and as it does I expect it to stabilize more." I might have made a typo there. I only used gimp to check if the profile was in the image and to create the test one. I was trying to do the space conversion purely with gegl chain in the term

[Gegl-developer] New operation pull request

2021-01-08 Thread JonnyRobbie via gegl-developer-list
How open are you for new operation pull request? I'm asking because it's a fairly complex operation for fairly niche user. This is a my repo currently hosting the op: https://gitlab.com/JonnyRobbie/ gimp-plugin-analog (It's named gimp plugin for historical reasons, but it really is a gegl op now

Re: [Gegl-developer] New operation pull request

2021-01-08 Thread JonnyRobbie via gegl-developer-list
"You can do a merge request for GEGL on GNOME's Gitlab instance: https://gitlab.gnome.org/GNOME/gegl/. "   Good. Just a question. What category (comon, comon-cxx, core, external, ...) should I put it in? Also, it includes an external .h and .c file. (I've separated the long data and enums there.

Re: [Gegl-developer] New operation pull request

2021-01-08 Thread JonnyRobbie via gegl-developer-list
> Maybe having > everything in the .c single file with enums and forward declarations > for the data early and the data after the operation code?  Locally, I use an external python script in a meta-programming way to generate the two included files from some input data. It doesn't depend o

Re: [Gegl-developer] New operation pull request

2021-01-11 Thread JonnyRobbie via gegl-developer-list
I've created the pull request https://gitlab.gnome.org/GNOME/gegl/-/merge_ requests/86 Thanks ___ gegl-developer-list mailing list List address:gegl-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gegl-developer-lis