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
commit 32ad77b8c7
Notes: sideshowbarker 2024-07-17 07:19:27 +09:00

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());