mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 08:37:35 +00:00
LibGfx: Write ICC tag table
All offsets and sizes are set to 0 for now, so this still doesn't produce a valid icc file. It gets closer, though.
This commit is contained in:
parent
9bd7048519
commit
1457e36b79
2 changed files with 25 additions and 2 deletions
|
@ -247,6 +247,8 @@ public:
|
|||
callback(tag.key, tag.value);
|
||||
}
|
||||
|
||||
size_t tag_count() const { return m_tag_table.size(); }
|
||||
|
||||
// Only versions 2 and 4 are in use.
|
||||
bool is_v2() const { return version().major_version() == 2; }
|
||||
bool is_v4() const { return version().major_version() == 4; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue