mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
icc: Print profile id
This commit is contained in:
parent
34a21efef6
commit
5d4ffd5580
Notes:
sideshowbarker
2024-07-17 02:10:45 +09:00
Author: https://github.com/nico
Commit: 5d4ffd5580
Pull-request: https://github.com/SerenityOS/serenity/pull/16823
Reviewed-by: https://github.com/MacDue
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("rendering intent: {}", Gfx::ICC::rendering_intent_name(profile->rendering_intent()));
|
||||||
outln("pcs illuminant: {}", profile->pcs_illuminant());
|
outln("pcs illuminant: {}", profile->pcs_illuminant());
|
||||||
|
|
||||||
|
out("id: ");
|
||||||
|
if (auto id = profile->id(); id.has_value())
|
||||||
|
outln("{}", *id);
|
||||||
|
else
|
||||||
|
outln("(not set)");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue