LibImage: Start work on PNG decoding

This patch adds PNG decoder that currently only inflates the PNG's zlib
deflate stream
This commit is contained in:
2024-06-17 18:04:18 +03:00
parent aaf7a249c6
commit 65c6d62a15
4 changed files with 684 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#include <BAN/ByteSpan.h>
#include <LibImage/Image.h>
namespace LibImage
{
bool probe_png(BAN::ConstByteSpan);
BAN::ErrorOr<BAN::UniqPtr<Image>> load_png(BAN::ConstByteSpan);
}