mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +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:
parent
6f2e62ba2a
commit
32ad77b8c7
1 changed files with 0 additions and 2 deletions
|
@ -53,8 +53,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||||
return 1;
|
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;
|
auto frame = TRY(decoder->frame(frame_index)).image;
|
||||||
Optional<ReadonlyBytes> icc_data = TRY(decoder->icc_data());
|
Optional<ReadonlyBytes> icc_data = TRY(decoder->icc_data());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue