mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
f970578cd4
ImageLoader was not the right name for this, as there is no loading happening, only decoding. :^)
11 lines
217 B
C++
11 lines
217 B
C++
#include <LibDraw/ImageDecoder.h>
|
|
#include <LibDraw/PNGLoader.h>
|
|
|
|
ImageDecoder::ImageDecoder(const u8* data, size_t size)
|
|
{
|
|
m_plugin = make<PNGImageDecoderPlugin>(data, size);
|
|
}
|
|
|
|
ImageDecoder::~ImageDecoder()
|
|
{
|
|
}
|