From 5d4ffd55800fd2f48a717b5aa4f94bce8668532d Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 4 Jan 2023 14:56:27 -0500 Subject: [PATCH] icc: Print profile id --- Userland/Utilities/icc.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Userland/Utilities/icc.cpp b/Userland/Utilities/icc.cpp index 693b812253..6c67b7fec1 100644 --- a/Userland/Utilities/icc.cpp +++ b/Userland/Utilities/icc.cpp @@ -39,5 +39,11 @@ ErrorOr 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; }