omg i forgot stuff

This commit is contained in:
Adam D. Ruppe 2021-01-19 23:03:19 -05:00
parent d29bf66764
commit 868323bac0
13 changed files with 3421 additions and 496 deletions

6
apng.d
View file

@ -266,6 +266,12 @@ enum APNG_BLEND_OP : byte {
OVER = 1
}
/++
Loads an apng file.
If it is a normal png file without animation it will
just load it as a single frame "animation" FIXME
+/
ApngAnimation readApng(in ubyte[] data) {
auto png = readPng(data);
auto header = PngHeader.fromChunk(png.chunks[0]);