1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:57:36 +00:00

LibGfx: Make ICCHeader use RenderingIntent enum

No behavior change.
This commit is contained in:
Nico Weber 2023-02-17 11:15:21 -05:00 committed by Andrew Kaster
parent 429467f46c
commit 78d849bce2
3 changed files with 11 additions and 14 deletions

View file

@ -96,11 +96,11 @@ enum class PrimaryPlatform : u32 {
StringView primary_platform_name(PrimaryPlatform);
// ICC v4, 7.2.15 Rendering intent field
enum class RenderingIntent {
Perceptual,
MediaRelativeColorimetric,
Saturation,
ICCAbsoluteColorimetric,
enum class RenderingIntent : u32 {
Perceptual = 0,
MediaRelativeColorimetric = 1,
Saturation = 2,
ICCAbsoluteColorimetric = 3,
};
StringView rendering_intent_name(RenderingIntent);