gtk/gdk/loaders
Benjamin Otte 31e0ec71f2 png: Add color state support
When loading or saving png files, encode the CICP flags of the color
state into the PNG.

When loading, decode the CICP flags if available and detect the
colorstate they use.
If we do not support the cicp tags, we do not load the image.

So far, we ignore the ICC profiles.

Includes regeneration of nodeparse test *reference* output to include
the new tags we write to PNGs.
The original tests do not include those tags, so we implicitly test that
we read untagged files correctly.
2024-07-16 22:04:10 +02:00
..
gdkjpeg.c Tweak profiling strings 2024-01-21 14:02:08 -05:00
gdkjpegprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkpng.c png: Add color state support 2024-07-16 22:04:10 +02:00
gdkpngprivate.h loaders: Make it possible to load png options 2024-04-28 23:42:02 -04:00
gdktiff.c Tweak profiling strings 2024-01-21 14:02:08 -05:00
gdktiffprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00