ladybird/Libraries/LibDraw/ImageDecoder.cpp
Andreas Kling f970578cd4 LibDraw: Rename ImageLoader => ImageDecoder
ImageLoader was not the right name for this, as there is no loading
happening, only decoding. :^)
2019-10-19 20:54:47 +02:00

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()
{
}