-
Notifications
You must be signed in to change notification settings - Fork 69
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
[BUG] Animations with image assets fail to load images #169
Comments
Seems to also have issues with base64 images in the lottie files: https://lottiefiles.com/36895-healthy-or-junk-food |
Real issue tracked here: mono/SkiaSharp#2173 |
Anyone have an example file like this? I am working on fixing this and I want to add some tests. |
This PR will get us to the happy place: mono/SkiaSharp#2630 |
Now that we have #277, I think we can finally do this! FYI I also see there is a new file format dotLottie: https://dotlottie.io/ |
Previously, when using the lottie animations, one could have one or more images with the animations and have them referenced in the data.json file.
As noted, we are referencing these images in that json payload:
img_0.png
img_1.png
We would then need to specify the Assets Folder path so that the app can locate the images:
animationView.ImageAssetsFolder = "images";
However, such functionality (specifying the ImageAssetsFolder) is missing on the new library and as a result - and as far as I know - we can only use images in base64 format as of now which is undesirable especially if you are a couple of images specified in the animation file.
An example would be:
The text was updated successfully, but these errors were encountered: