summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2023-05-24 08:44:12 -0400
committerAndreas Kling <kling@serenityos.org>2023-05-24 16:01:09 +0200
commit32ad77b8c7e2ac4d4a7ee5f27bd53f4df8b229d3 (patch)
tree3e38454276dcdaed175e197e355090d8870c06e8 /Userland
parent6f2e62ba2a8ab309380017344e569718c6b3de71 (diff)
downloadserenity-32ad77b8c7e2ac4d4a7ee5f27bd53f4df8b229d3.zip
image: Remove no-longer-needed comment
The future is now, and Bitmap::load_from_file() can't do the things that `image` now does.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Utilities/image.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Utilities/image.cpp b/Userland/Utilities/image.cpp
index 4de6a49da9..15157ffd37 100644
--- a/Userland/Utilities/image.cpp
+++ b/Userland/Utilities/image.cpp
@@ -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());