AVAnimator mvid conversion

前端 未结 1 1835
故里飘歌
故里飘歌 2020-12-11 11:15

Is there no way to play an apng file directly in iOS?

I tried AVAnimator, but its solution is to convert the apng file to

1条回答
  •  轮回少年
    2020-12-11 11:28

    Yes, that is how decompression of the apng file format is implemented, except that there is no 7z decompression. Decompression is from .apng which is basically the same format as .png with zlib compression. That compressed format is decoded to raw image data and then the animation is displayed frame by frame. This is the only way it can be implemented on a mobile client. There is no other solution for playback of apng in an iOS app, I looked at everything that was available before I implemented AVAnimator's APNG support.

    0 讨论(0)
提交回复
热议问题