mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-26 13:20:05 +03:00
omg i forgot stuff
This commit is contained in:
parent
d29bf66764
commit
868323bac0
13 changed files with 3421 additions and 496 deletions
6
apng.d
6
apng.d
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue