Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it work for WPF app? #470

Open
hristowwe opened this issue Sep 4, 2021 · 2 comments
Open

Is it work for WPF app? #470

hristowwe opened this issue Sep 4, 2021 · 2 comments

Comments

@hristowwe
Copy link

I wonder if this library works for WPF app in c#. And if there are few sample how it works

@nishitha-burman
Copy link
Collaborator

nishitha-burman commented Sep 17, 2021

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.

@D4N4M8
Copy link

D4N4M8 commented Jan 20, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants