- Jun 6, 2020
- 11,559
- 4,422
برای دیدن تصاویر باید ثبت نام کنید
(image source:
برای دیدن لینک ها باید ثبت نام کنید
)APNG is a format that extends PNG with support for animations, similar to animated gifs.
This class, which is implemented in B4X, extracts the frames from the APNG file and creates the animation.
It doesn't support all possible formats. If you encounter a file that is not supported then post it.
It depends on B4XCollections v1.08+ which is an internal library. B4XCollections v1.08 is attached (should be copied to the internal libraries folder).
Under the hood it uses RandomAccessFile + BytesBuilder + native CRC32 implementation to extract the frames, build temporary images that are loaded as regular bitmaps and then animate them.
برای دیدن لینک ها باید ثبت نام کنید