mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 18:17:23 +00:00
LibGfx: Provide an implementation for ImageDecoderPlugin::icc_data()
This commit is contained in:
parent
4f3945024a
commit
e721c74598
Notes:
sideshowbarker
2024-07-17 04:09:56 +09:00
Author: https://github.com/LucasChollet
Commit: e721c74598
Pull-request: https://github.com/SerenityOS/serenity/pull/21657
15 changed files with 1 additions and 44 deletions
|
@ -51,7 +51,7 @@ public:
|
|||
virtual size_t first_animated_frame_index() { return 0; }
|
||||
|
||||
virtual ErrorOr<ImageFrameDescriptor> frame(size_t index, Optional<IntSize> ideal_size = {}) = 0;
|
||||
virtual ErrorOr<Optional<ReadonlyBytes>> icc_data() = 0;
|
||||
virtual ErrorOr<Optional<ReadonlyBytes>> icc_data() { return OptionalNone {}; }
|
||||
|
||||
virtual bool is_vector() { return false; }
|
||||
virtual ErrorOr<VectorImageFrameDescriptor> vector_frame(size_t) { VERIFY_NOT_REACHED(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue