icc: Print profile id

This commit is contained in:
Nico Weber 2023-01-04 14:56:27 -05:00 committed by Andreas Kling
commit 5d4ffd5580
Notes: sideshowbarker 2024-07-17 02:10:45 +09:00

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;
}