1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:47:46 +00:00

ICC: Make number_of_components_in_color_space() external

...and make its return type unsigned.
This commit is contained in:
Nico Weber 2023-04-28 09:08:34 -04:00 committed by Andreas Kling
parent 037d213fdf
commit e76d2238bb
2 changed files with 15 additions and 14 deletions

View file

@ -87,6 +87,7 @@ enum class ColorSpace : u32 {
};
StringView data_color_space_name(ColorSpace);
StringView profile_connection_space_name(ColorSpace);
unsigned number_of_components_in_color_space(ColorSpace);
// ICC v4, 7.2.10 Primary platform field, Table 20 — Primary platforms
enum class PrimaryPlatform : u32 {