1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00

PNGLoader: Add load_png_from_memory method

This commit is contained in:
Conrad Pankoff 2019-09-16 00:32:16 +10:00 committed by Andreas Kling
parent 814346606f
commit bfde6acd8c
2 changed files with 9 additions and 0 deletions

View file

@ -3,3 +3,4 @@
#include <LibDraw/GraphicsBitmap.h>
RefPtr<GraphicsBitmap> load_png(const StringView& path);
RefPtr<GraphicsBitmap> load_png_from_memory(const u8*, size_t);