1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:07:35 +00:00

image: Remove no-longer-needed comment

The future is now, and Bitmap::load_from_file() can't do the things that
`image` now does.
This commit is contained in:
Nico Weber 2023-05-24 08:44:12 -04:00 committed by Andreas Kling
parent 6f2e62ba2a
commit 32ad77b8c7

View file

@ -53,8 +53,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
return 1;
}
// This uses ImageDecoder instead of Bitmap::load_from_file() to have more control
// over selecting a frame, access color profile data, and so on in the future.
auto frame = TRY(decoder->frame(frame_index)).image;
Optional<ReadonlyBytes> icc_data = TRY(decoder->icc_data());