gimp/libgimpcolor
Jehan e992ca3e51 app, libgimp, pdb, plug-ins: GimpText* using GeglColor.
One of the big improvement in this commit is that text layers are now much
better at space accuracy. They were already space-aware, yet rendered as sRGB u8
only before being converted to the image's space. It means that text layers had
the following limitations:

* Any color out of sRGB gamut were trimmed.
* Precision was always 8-bit (even if the image was high-bit depth).

Now GimpTextLayout keeps track of its source space (for RGB and CMYK only, this
won't be as easy when we will support more backend, since Cairo has only RGB
support for image data) and the image TRC (in case it bypasses the color space's
TRB) and it draws within this gamut and space.
It means first that we are not limited to sRGB colors; we will draw text main
color in the full image gamut, with still 2 remaining limitations:

* Unbounded colors are impossible because Pango format (to color text) uses
  hexadecimal (so even with half/float images, you can't draw out-of-gamut text
  unfortunately).
* Main color precision is still 8-bit, yet a tiny bit better than before as we
  at least follow TRC (so we avoid some of the precision loss when converting,
  even though the bit-depth is still the biggest loss).

The outline color on the other hand is drawn through Cairo API entirely, in
float. This means that the outline color will now be without any precision loss.

Note that this depends on CAIRO_FORMAT_RGBA128F which is only available since
Cairo 1.17.2 which is not in Debian bookworm (our current baseline for GIMP
3.0). It means that the old precision will still happen with older Cairo
version, as determined by #if code at compilation.
2024-02-11 23:28:02 +01:00
..
gimpadaptivesupersample.c libgimpcolor: rudimentary docs for gimp_adaptive_supersample_area() 2019-08-09 15:24:49 +02:00
gimpadaptivesupersample.h libgimpcolor: Fix annotation in GimpRenderFunc 2021-12-28 21:23:42 +01:00
gimpbilinear.c Add GIR annotations to bilinear utils 2020-05-05 19:37:44 +02:00
gimpbilinear.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcairo.c app, libgimp, pdb, plug-ins: GimpText* using GeglColor. 2024-02-11 23:28:02 +01:00
gimpcairo.h app, libgimp, pdb, plug-ins: GimpText* using GeglColor. 2024-02-11 23:28:02 +01:00
gimpcmyk.c app, libgimp*, pdb, plug-ins: use g_memdup2() instead of g_memdup() 2021-08-26 17:32:09 +02:00
gimpcmyk.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcolor.c libgimpcolor: new functions gimp_color_set_alpha() and… 2024-02-11 23:28:02 +01:00
gimpcolor.def libgimpcolor: new functions gimp_color_set_alpha() and… 2024-02-11 23:28:02 +01:00
gimpcolor.h libgimpcolor: new functions gimp_color_set_alpha() and… 2024-02-11 23:28:02 +01:00
gimpcolormanaged.c core: Add simulation intent and BPC to GimpImage 2022-08-13 19:39:47 +00:00
gimpcolormanaged.h core: Add simulation intent and BPC to GimpImage 2022-08-13 19:39:47 +00:00
gimpcolorprofile.c Issue #9994: do not call g_file_info_get_is_hidden() (and others) directly. 2023-09-19 15:34:48 +02:00
gimpcolorprofile.h libgimpcolor: add gimp_color_profile_get_space() 2018-07-16 14:06:32 +02:00
gimpcolorspace.c pdb, libgimp*: add (out caller-allocates) to all GimpRGB* return values 2019-08-01 15:39:13 +02:00
gimpcolorspace.h libgimpcolor: remove deprecated integer RGB <-> HSL conversion functions 2018-10-22 13:29:11 +02:00
gimpcolortransform.c libgimpcolor: fix call to cmsCreateProofingTransform(). 2022-04-20 20:54:20 +02:00
gimpcolortransform.h libgimp*: lots of doc fixes and new docs for structs and enums 2019-07-24 01:18:30 +02:00
gimpcolortypes.h libgimpcolor: rudimentary docs for gimp_adaptive_supersample_area() 2019-08-09 15:24:49 +02:00
gimphsl.c app, libgimp*, pdb, plug-ins: use g_memdup2() instead of g_memdup() 2021-08-26 17:32:09 +02:00
gimphsl.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimphsv.c app, libgimp*, pdb, plug-ins: use g_memdup2() instead of g_memdup() 2021-08-26 17:32:09 +02:00
gimphsv.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppixbuf.c gir: Add missing annotations 2020-05-04 02:11:57 +02:00
gimppixbuf.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimprgb-parse.c libgimpcolor: Fix gimp_rgb_list_names() for introspection 2021-12-02 12:43:57 +01:00
gimprgb.c app, libgimp*, pdb, plug-ins: use g_memdup2() instead of g_memdup() 2021-08-26 17:32:09 +02:00
gimprgb.h libgimpcolor: new functions gimp_color_set_alpha() and… 2024-02-11 23:28:02 +01:00
meson.build libgimpcolor: new functions gimp_color_set_alpha() and… 2024-02-11 23:28:02 +01:00
test-color-parser.c fix compilation of a test 2012-05-03 20:36:28 +09:00