icc: Print profile size

This commit is contained in:
Nico Weber 2023-01-27 20:51:34 -05:00 committed by Andreas Kling
parent 6c79201f43
commit 027c97d3b2

View file

@ -54,6 +54,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto profile = TRY(Gfx::ICC::Profile::try_load_from_externally_owned_memory(icc_bytes));
outln(" size: {} bytes", profile->on_disk_size());
out_optional(" preferred CMM type", profile->preferred_cmm_type());
outln(" version: {}", profile->version());
outln(" device class: {}", Gfx::ICC::device_class_name(profile->device_class()));