Open amirvenus opened 1 year ago
Seems to also have issues with base64 images in the lottie files: https://lottiefiles.com/36895-healthy-or-junk-food
Real issue tracked here: https://github.com/mono/SkiaSharp/issues/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: https://github.com/mono/SkiaSharp/pull/2630
Now that we have https://github.com/mono/SkiaSharp.Extended/pull/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: