mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:57:44 +00:00
LibGfx: Move ICC ProfileFileSignature into a constant in BinaryFormat.h
...so that it can be used by ICC writing code too.
This commit is contained in:
parent
78d849bce2
commit
0ca620a286
2 changed files with 5 additions and 2 deletions
|
@ -75,6 +75,10 @@ struct ICCHeader {
|
|||
};
|
||||
static_assert(AssertSize<ICCHeader, 128>());
|
||||
|
||||
// ICC v4, 7.2.9 Profile file signature field
|
||||
// "The profile file signature field shall contain the value “acsp” (61637370h) as a profile file signature."
|
||||
constexpr u32 ProfileFileSignature = 0x61637370;
|
||||
|
||||
// Common bits of ICC v4, Table 40 — lut16Type encoding and Table 44 — lut8Type encoding
|
||||
struct LUTHeader {
|
||||
u8 number_of_input_channels;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue