microsoft / xaml-standard

XAML Standard : a set of principles that drive XAML dialect alignment
Other
807 stars 54 forks source link

Support animated PNG (aka APNG) #215

Open birbilis opened 6 years ago

birbilis commented 6 years ago

quote from https://tinypng.com/

Chrome, Firefox and Safari all support APNG. Google added their support in Chrome 59 only just recently in June 2017 so it is expected that the format will really start to take off from now!

there's also a suggestion for implementing it in Edge here: https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/6513393-apng-animated-png-images-support-firefox-and-sa

it would be nice to have animated images in XAML in a way that doesn't need that the programmer does something special to support them

Some example uses are casual games, messaging apps (e.g. for animated emoji etc.) and for end-user programming apps (where user inserts some animated image and sets rules for its reaction with other ones and with its hosting area)

wouldn't mind animated GIF support too btw (and animated image formats - after all even TIFF can have multiple frames - in general via some async provider API that gives more frames (with transparency if supported like in APNG or with some masking color like they use I think with animating GIF) from an image format with appropriate delay [based on info in the image] and loops [if that is specified by the caller or in the image format])