1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 13:57:35 +00:00
serenity/Userland/Libraries
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
..
LibArchive Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
LibAudio LibAudio: Use the proper functions to read WAV samples 2023-02-27 18:28:12 +01:00
LibC Kernel: Move TYPEDEF_* TTY macros to API/ttydefaults.h file 2023-03-01 19:36:53 -07:00
LibCards Userland: Use Font::pixel_size_rounded_up() instead of glyph_height() 2023-03-04 00:29:38 +01:00
LibChess LibCore: Rename File to DeprecatedFile 2023-02-13 00:50:07 +00:00
LibCMake LibCMake+LibSyntax: Add a CMake syntax highlighter 2023-03-04 05:43:43 -07:00
LibCodeComprehension Everywhere: Use '_{short_,}string' literals more 2023-02-28 15:15:36 +00:00
LibCompress Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
LibConfig LibCore: Move Stream-based sockets into the Core namespace 2023-02-13 00:50:07 +00:00
LibCore LibCore+LibGUI+About: Use String in Core::Version and GUI::AboutDialog 2023-03-03 15:23:47 +01:00
LibCoredump LibCore: Rename File to DeprecatedFile 2023-02-13 00:50:07 +00:00
LibCpp LibCpp: Add folding regions to syntax highlighters 2023-03-03 21:56:42 +01:00
LibCrypt AK: Stop using DeprecatedString in Base64 encoding 2022-12-20 10:34:19 +01:00
LibCrypto Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
LibDebug HackStudio: Add 'pause debuggee' button 2023-02-24 19:09:27 +01:00
LibDesktop LibCore: Move Stream-based sockets into the Core namespace 2023-02-13 00:50:07 +00:00
LibDeviceTree LibDeviceTree: Use unchecked_append() in path parsing 2023-02-24 23:56:37 +01:00
LibDiff LibDiff: Make Diff::generate_only_additions take text as StringView 2022-12-20 10:58:54 +01:00
LibDNS Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
LibDSP LibDSP: Don't crash on out-of-bounds parameter value 2023-02-25 20:49:41 -07:00
LibEDID LibEDID: Return proper errno codes for kernel code 2023-02-10 09:14:20 +00:00
LibELF Kernel+Userland: Refine preventing syscall annotations of Regions option 2023-02-24 22:26:07 +01:00
LibFileSystemAccessClient LibFileSystemAccessClient: Remove the deprecated API 2023-02-16 20:11:52 +01:00
LibGemini Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
LibGfx LibGfx: Add a function to create an in-memory sRGB profile 2023-03-04 21:38:47 +00:00
LibGL LibGL: Fix minor const-correctness issues 2023-02-21 00:54:04 +01:00
LibGLSL Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
LibGPU LibGPU: Remove DeprecatedString usage 2023-01-30 13:49:52 -05:00
LibGUI LibGUI: Make Button height adapt to the current font size 2023-03-04 00:29:38 +01:00
LibHTTP Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
LibIDL LibIDL: Use OrderedHash{Table,Map} to store Enumeration values 2023-03-03 09:25:34 +00:00
LibImageDecoderClient LibImageDecoderClient: Fix minor const-correctness issue 2023-02-21 00:54:04 +01:00
LibIMAP LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
LibIPC LibIPC: Add a built-in encoder/decoder for AK::Time 2023-02-24 15:50:42 -05:00
LibJS LibJS: Use a Variant instead of two Optionals for ThrowCompletionOr 2023-03-01 17:55:42 +00:00
LibKeyboard LibCore: Rename File to DeprecatedFile 2023-02-13 00:50:07 +00:00
LibLine Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
LibLocale Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
LibMain Everywhere: Explicitly link all binaries against the LibC target 2022-11-01 14:49:09 +00:00
LibManual Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
LibMarkdown AK: Remove StringBuilder::build() in favor of to_deprecated_string() 2023-01-27 20:38:49 +00:00
LibPartition LibPartition: Make Kernel parts const-correct re: StorageDevice& 2023-02-21 00:54:04 +01:00
LibPCIDB AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibPDF LibPDF: Detect CFF encodings with supplements 2023-03-02 12:18:53 +01:00
LibProtocol Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
LibRegex LibRegex: Add to_string method for RegexStringView 2023-02-17 16:32:02 +00:00
LibSanitizer LibC: Properly implement stack protectors 2022-11-01 14:49:09 +00:00
LibSoftGPU LibSoftGPU: Use multiplication instead of division for linear fog 2023-02-18 01:45:00 +01:00
LibSQL LibSQL: Fix minor const-correctness issues 2023-02-21 00:54:04 +01:00
LibSymbolication Kernel+Userland: Add constants subdirectory at /sys/kernel directory 2023-02-19 13:47:11 +01:00
LibSyntax LibCMake+LibSyntax: Add a CMake syntax highlighter 2023-03-04 05:43:43 -07:00
LibSystem Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00
LibTest LibCore+Everywhere: Remove ArgsParser::add*(char const*&) 2023-03-01 10:47:19 +01:00
LibTextCodec LibTextCodec/Latin1: Iterate over input string with u8 instead of char 2023-02-28 08:46:06 +00:00
LibThreading Everywhere: Remove unused includes of AK/Format.h 2023-01-02 20:27:20 -05:00
LibTimeZone Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
LibTLS LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
LibUnicode LibUnicode: Allow ignoring text presentation emoji in sequence detection 2023-02-28 13:22:58 +00:00
LibUSBDB AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibVideo LibVideo/VP9: Convert the Parser to use AK/BitStream.h 2023-02-13 00:22:23 +00:00
LibVirtGPU LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
LibVT Userland: Use Font::pixel_size_rounded_up() in more places 2023-03-04 00:29:38 +01:00
LibWasm LibWasm+LibWeb: Sneak a JS::Completion into Wasm::Result 2023-02-26 10:54:23 +03:30
LibWeb Userland: Use Font::pixel_size_rounded_up() instead of glyph_height() 2023-03-04 00:29:38 +01:00
LibWebSocket LibCore: Move Stream-based sockets into the Core namespace 2023-02-13 00:50:07 +00:00
LibWebView LibWebView: Display Accessible Name and Description 2023-02-19 15:58:20 +01:00
LibX86 LibX86: Remove i686 support 2022-12-28 11:53:41 +01:00
LibXML AK: Check the return type in IsCallableWithArguments 2023-02-04 18:47:02 -07:00
CMakeLists.txt LibCMake: Introduce a CMake lexer 2023-03-04 05:43:43 -07:00