Closed theashraf closed 2 months ago
Hmm... This is the captured image from my testing device. I can't determine whether Lottie-web is better than the others like your captured image. The only noticeable difference might be the edge quality due to the different anti-aliasing mechanisms.
[left: thorvg, center: dotlottie, right: lottie-web]
[thorvg]
[dotlottie]
[lottie-web]
The important part is whether all three players output images at the same resolution. If one side outputs at a higher resolution, it can significantly affect performance measurement, so it is important to ensure they are the same.
Tested on my Windows Chrome browser:
Tested on MacBook,
More Test factors.
I've noticed that only lottie-web renders animations with the best quality, while thorvg and dotLottie-web animations are a bit blurry.
lottie-web
dotLottie-web & thorvg
[Suggestion] We can remove the hardcoded dotLottie web renderConfig devicePixelRatio and ensure that the thorvg canvas is resized for the best quality based on the devicePixelRatio, as it's implemented in dotLottie-web.