Is it work for WPF app?
hristowwe opened this issue · 2 comments
I wonder if this library works for WPF app in c#. And if there are few sample how it works
Hello, thank you for reaching out. Currently there are no immediate plans for porting the implementation that uses Windows.UI.Composition APIs to WPF. Can you tell us a bit more about your app and how you are planning on using Lottie within the app? What kind of animations are you hoping to play (e.g. icon animations, illustrations, etc.)? Is WPF the only UI framework in your app? Thank you.
Hi, we would also like to use Lottie animations in WPF applications. Our WPF applications based on .net 6 and C# 10 (ported in the past few weeks). Our applications are used on a Windows 10 LTSC 2019 in the medical sector.
Currently, the animations in our views/xaml are rendered/displayes with a MediaElement component (Unosquare.FFME) and MP4 files. However, mp4-files have three main disadvantages:
- not vector based / not freely scalable in height/width
- no transparent background possible (our application supported a light and a dark theme). This always requires two MP4 files per animation.
- The files take up a lot of disk space
Later we will also use these animations in mobile apps for Android and iOS (probably based on .NET MAUI).
We'd really appreciate it if you ported your Lottie implementation to WPF 👍 :-)
Best regards Daniel