mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
LibGfx/WebPWriter: Add a toggle for disabling individual transforms
This commit is contained in:
committed by
Jelle Raaijmakers
parent
4a327d98a4
commit
533b29dde7
Notes:
sideshowbarker
2024-07-17 20:58:35 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/533b29dde7 Pull-request: https://github.com/SerenityOS/serenity/pull/24483 Reviewed-by: https://github.com/gmta ✅
@@ -11,6 +11,11 @@
|
||||
|
||||
namespace Gfx {
|
||||
|
||||
ErrorOr<ByteBuffer> compress_VP8L_image_data(Bitmap const&, bool& is_fully_opaque);
|
||||
struct VP8LEncoderOptions {
|
||||
// For each TransformType, set bit `1 << transform_type` if that transform type is allowed.
|
||||
unsigned allowed_transforms { 0xf };
|
||||
};
|
||||
|
||||
ErrorOr<ByteBuffer> compress_VP8L_image_data(Bitmap const&, VP8LEncoderOptions const&, bool& is_fully_opaque);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user