mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:57:44 +00:00
SharedGraphics: Implement a simple PNG decoder.
This is extremely unoptimized, but it does successfully load "folder32.png" so it must be at least somewhat correct. :^)
This commit is contained in:
parent
ed2303e2d8
commit
42755e98cf
10 changed files with 1245 additions and 2 deletions
5
SharedGraphics/PNGLoader.h
Normal file
5
SharedGraphics/PNGLoader.h
Normal file
|
@ -0,0 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
#include <SharedGraphics/GraphicsBitmap.h>
|
||||
|
||||
RetainPtr<GraphicsBitmap> load_png(const String& path);
|
Loading…
Add table
Add a link
Reference in a new issue