1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:37:34 +00:00

icc: Print profile id

This commit is contained in:
Nico Weber 2023-01-04 14:56:27 -05:00 committed by Andreas Kling
parent 34a21efef6
commit 5d4ffd5580

View file

@ -39,5 +39,11 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
outln("rendering intent: {}", Gfx::ICC::rendering_intent_name(profile->rendering_intent()));
outln("pcs illuminant: {}", profile->pcs_illuminant());
out("id: ");
if (auto id = profile->id(); id.has_value())
outln("{}", *id);
else
outln("(not set)");
return 0;
}