1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 00:27:35 +00:00
serenity/Userland
Nico Weber 0ba532e14e LibGfx: Add a function to create an in-memory sRGB profile
This might be useful for converting data from arbitrary profiles to
sRGB.

For now, this only encodes the transfer function and puts in zero values
for chromaticities, whitepoint, and chromatic adaptation matrix.
This makes the profile unusable for now. But I've spent a very long time
reading things and need to check in some code, and it's some progress.

The encoded transfer function exactly matches the one in GIMP's built-in
sRGB ICC profile (but not the Compact-ICC-Profiles v4 one or the
RawTherapee v4 one -- I'll add a comment about why later.)
2023-03-04 21:38:47 +00:00
..
Applets Applets/Keymap: Repaint applet on demand only 2023-03-04 00:29:38 +01:00
Applications TextEditor: Enable CMake syntax highlighting 2023-03-04 05:43:43 -07:00
BuggieBox Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00
Demos Userland: Fix remaining smart pointer const-correctness issues 2023-02-21 00:54:04 +01:00
DevTools HackStudio: Enable CMake syntax highlighting 2023-03-04 05:43:43 -07:00
DynamicLoader DynamicLoader: Disable stack protector in some files for aarch64 build 2023-02-15 22:53:19 +01:00
Games Userland: Use Font::pixel_size_rounded_up() instead of glyph_height() 2023-03-04 00:29:38 +01:00
Libraries LibGfx: Add a function to create an in-memory sRGB profile 2023-03-04 21:38:47 +00:00
Services Userland: Use Font::pixel_size_rounded_up() instead of glyph_height() 2023-03-04 00:29:38 +01:00
Shell LibCore+Everywhere: Remove ArgsParser::add*(char const*&) 2023-03-01 10:47:19 +01:00
Utilities AK+readelf: Issue error when using ARCH(arch) with nonexistent arch 2023-03-03 21:53:41 +01:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00