Gimp/libgimpconfig
Alx Sa f98d394765 libgimpconfig: Save legacy XCF grid colors...
...in GimpRGB format.
Resolves #14754

GimpGrid properties are saved and loaded
in XCFs as GimpParasites. When we
converted from GimpRGB to GeglColor
for the fgcolor and bgcolor properties,
we caused those properties to be lost
when saving a 2.10 and below compatible
XCF in GIMP 3.0+.

This patch adds new
gimp_config_get_xcf_version () and
gimp_config_set_xcf_version () API to
libgimpconfig's interface. This allows us to
pass the intended XCF version to the
parasite serialization process, and save
as either GeglColor or GimpRGB compatible
formats based on that value.

(cherry picked from commit 5753ac75b4)
2026-01-22 21:47:39 +01:00
..
gimpcolorconfig.c libgimpconfig: GimpColorConfig is now final. 2024-10-17 22:38:25 +02:00
gimpcolorconfig.h libgimpconfig: GimpColorConfig is now final. 2024-10-17 22:38:25 +02:00
gimpconfig-deserialize.c libgimpconfig: better error message when a GObject property tries to… 2025-10-28 07:24:55 -03:00
gimpconfig-deserialize.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpconfig-error.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpconfig-error.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpconfig-iface.c libgimpconfig: Save legacy XCF grid colors... 2026-01-22 21:47:39 +01:00
gimpconfig-iface.h libgimpconfig: Save legacy XCF grid colors... 2026-01-22 21:47:39 +01:00
gimpconfig-params.c libgimpconfig: fix typo in gimpconfig-params.c 2025-09-29 08:41:48 -03:00
gimpconfig-params.h app, libgimpbase, libgimpconfig: make our custom GParamFlags definitions… 2024-09-01 00:12:27 +02:00
gimpconfig-path.c libgimp: new unit testing framework for libgimp. 2024-02-28 22:55:58 +01:00
gimpconfig-path.h libgimp*: lots of doc fixes and new docs for structs and enums 2019-07-24 01:18:30 +02:00
gimpconfig-register.c libgimpconfig: fix leak. 2024-09-04 14:04:47 +02:00
gimpconfig-register.h libgimpconfig: add gimp_config_type_register() 2019-09-16 10:48:32 +02:00
gimpconfig-serialize.c libgimpconfig: Save legacy XCF grid colors... 2026-01-22 21:47:39 +01:00
gimpconfig-serialize.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpconfig-utils.c app, libgimp*, pdb: new GimpParamSpecObject abstract spec type. 2024-09-04 22:34:49 +02:00
gimpconfig-utils.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpconfig.def libgimpconfig: Save legacy XCF grid colors... 2026-01-22 21:47:39 +01:00
gimpconfig.h app, libgimpbase, libgimpconfig: make our custom GParamFlags definitions… 2024-09-01 00:12:27 +02:00
gimpconfigenums.c app, libgimp*: commit the newly generated *enums.c files. 2022-08-01 20:00:01 +02:00
gimpconfigenums.h libgimpconfig: fix small typo. 2022-03-04 16:09:09 +01:00
gimpconfigtypes.h libgimpconfig: add a GimpScanner typedef and make it a boxed type 2019-08-09 12:42:52 +02:00
gimpconfigwriter.c libgimpconfig: Fix gimpconfigwriter GIR annotation 2024-05-11 14:34:32 +02:00
gimpconfigwriter.h libgimpconfig: get rid of filenames in all config related APIs 2019-09-21 12:55:12 +02:00
gimpscanner.c app, libgimp*, pdb, plug-ins: rename various public API name s/float/double/. 2024-11-02 15:00:03 +01:00
gimpscanner.h app, libgimp*, pdb, plug-ins: rename various public API name s/float/double/. 2024-11-02 15:00:03 +01:00
meson.build Declare gexiv2 dependency on many targets (due to gimpmetadata.h) 2025-10-03 18:42:25 -03:00