1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

icc: Print rendering intent

This commit is contained in:
Nico Weber 2022-12-30 08:15:59 -05:00 committed by Andreas Kling
parent 743e9fc786
commit ca4ebf5d1b

View file

@ -25,6 +25,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
outln("device class: {}", Gfx::ICC::device_class_name(profile->device_class()));
outln("data color space: {}", Gfx::ICC::color_space_name(profile->data_color_space()));
outln("creation date and time: {}", Core::DateTime::from_timestamp(profile->creation_timestamp()).to_deprecated_string());
outln("rendering intent: {}", Gfx::ICC::rendering_intent_name(profile->rendering_intent()));
return 0;
}