diff options
author | Andreas Kling <kling@serenityos.org> | 2021-11-11 11:32:22 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-11 11:32:22 +0100 |
commit | 10add3f4c2cddc0d603b62ec79bfc54b47a3f53b (patch) | |
tree | 167928cafed5fd09602be0fdb3349e51acd52e49 /Userland/Libraries/LibGfx/JPGLoader.h | |
parent | 09780ba7a9432891096f009a7092a9c8f753ccea (diff) | |
download | serenity-10add3f4c2cddc0d603b62ec79bfc54b47a3f53b.zip |
LibGfx: Remove load_FORMAT() image codec wrappers
We had a bunch of old unused wrapper functions for each image codec that
would load a supported image with a given path. Nobody actually used
them, so let's just get rid of load_png(), load_gif(), etc.
Diffstat (limited to 'Userland/Libraries/LibGfx/JPGLoader.h')
-rw-r--r-- | Userland/Libraries/LibGfx/JPGLoader.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Userland/Libraries/LibGfx/JPGLoader.h b/Userland/Libraries/LibGfx/JPGLoader.h index 04741fa978..284ae076f0 100644 --- a/Userland/Libraries/LibGfx/JPGLoader.h +++ b/Userland/Libraries/LibGfx/JPGLoader.h @@ -6,16 +6,11 @@ #pragma once -#include <AK/MappedFile.h> #include <AK/String.h> -#include <AK/Vector.h> -#include <LibGfx/Bitmap.h> #include <LibGfx/ImageDecoder.h> -#include <LibGfx/Size.h> namespace Gfx { -RefPtr<Gfx::Bitmap> load_jpg(String const& path); RefPtr<Gfx::Bitmap> load_jpg_from_memory(u8 const* data, size_t length, String const& mmap_name = "<memory>"); struct JPGLoadingContext; |