1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:57:35 +00:00

LibGfx: Add method to get String data from an ICC Profile tag

This commit is contained in:
Sam Atkins 2023-07-13 13:48:56 +01:00 committed by Sam Atkins
parent 1066831b39
commit 835dada3d3
2 changed files with 38 additions and 0 deletions

View file

@ -259,6 +259,8 @@ public:
return m_tag_table.get(signature).map([](auto it) -> TagData const& { return *it; });
}
Optional<String> tag_string_data(TagSignature signature) const;
size_t tag_count() const { return m_tag_table.size(); }
// Only versions 2 and 4 are in use.