mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
icc: Print profile id
This commit is contained in:
parent
34a21efef6
commit
5d4ffd5580
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue