the raw data bytes of the file
if true, it will strictly interpret the file as apng and ignore the default image. If there are no animation chunks, it will return an empty ApngAnimation object.
If false, it will use the default image as the first (and only) frame of animation if there are no apng chunks.
factory function for constructing the ApngAnimation object the function returns. You can use this to override the allocation pattern or to return a subclass instead, which can handle custom chunks and other things.
Parameter strictApng added February 27, 2021 Parameter factory added December 26, 2021
Loads an apng file.