mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 17:19:13 +00:00
PNGLoader: Add load_png_from_memory method
This commit is contained in:
parent
814346606f
commit
bfde6acd8c
Notes:
sideshowbarker
2024-07-19 12:05:50 +09:00
Author: https://github.com/deoxxa
Commit: bfde6acd8c
Pull-request: https://github.com/SerenityOS/serenity/pull/565
Reviewed-by: https://github.com/awesomekling
2 changed files with 9 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue