1
Fork 0
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:
Andreas Kling 2019-03-21 03:57:42 +01:00
parent ed2303e2d8
commit 42755e98cf
10 changed files with 1245 additions and 2 deletions

View file

@ -0,0 +1,5 @@
#pragma once
#include <SharedGraphics/GraphicsBitmap.h>
RetainPtr<GraphicsBitmap> load_png(const String& path);