/* * Copyright (c) 2022, Dex♪ * Copyright (c) 2022, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace Ladybird { class ImageCodecPlugin final : public Web::Platform::ImageCodecPlugin { public: ImageCodecPlugin() = default; virtual ~ImageCodecPlugin() override; virtual Optional decode_image(ReadonlyBytes data) override; }; }