mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
ImageDecoder: Add plumbing to allow a client to request an ideal size
This is only used for vector graphics format where requesting the true displayed size leads to visual enhancement.
This commit is contained in:
committed by
Andreas Kling
parent
4c23f0e142
commit
e56eb11dee
@@ -3,5 +3,5 @@
|
||||
|
||||
endpoint ImageDecoderServer
|
||||
{
|
||||
decode_image(Core::AnonymousBuffer data, Optional<ByteString> mime_type) => (bool is_animated, u32 loop_count, Vector<Gfx::ShareableBitmap> bitmaps, Vector<u32> durations)
|
||||
decode_image(Core::AnonymousBuffer data, Optional<Gfx::IntSize> ideal_size, Optional<ByteString> mime_type) => (bool is_animated, u32 loop_count, Vector<Gfx::ShareableBitmap> bitmaps, Vector<u32> durations)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user