microsoft / DirectXTK12

The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
https://walbourn.github.io/directx-tool-kit-for-directx-12/
MIT License
1.5k stars 395 forks source link

How do I load and draw an APNG file using Direct2D functions #94

Closed williamlzw closed 3 years ago

williamlzw commented 3 years ago

How do I load and draw an APNG file using Direct2D functions

walbourn commented 3 years ago

I don't have any particular support for animated PNGs (APNG) in my libraries, and it's not a format supported by Windows Imaging Component (WIC) built-in codecs.

I do have support in texassemble to convert an animated GIF into a 2D texture array which you can then render as a 'flip-book'.