1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:08:10 +00:00

LibGfx: Remove all load_FORMAT_from_memory() decoder wrappers

There are no more clients of these APIs, now that everyone has been made
to use ImageDecoderPlugin objects instead.
This commit is contained in:
Andreas Kling 2021-11-12 15:51:53 +01:00
parent 481e7b7971
commit 47edd6ae89
16 changed files with 2 additions and 146 deletions

View file

@ -6,13 +6,10 @@
#pragma once
#include <AK/String.h>
#include <LibGfx/ImageDecoder.h>
namespace Gfx {
RefPtr<Gfx::Bitmap> load_png_from_memory(u8 const*, size_t, String const& mmap_name = "<memory>");
struct PNGLoadingContext;
class PNGImageDecoderPlugin final : public ImageDecoderPlugin {