Animated images shown completly wrong when canvas is not a square
Overview
In particular case, when an image is animated, the image is shown completly wrong.
Test file: https://lottie.host/7c7a55d0-4c96-4aaa-b8a7-8917c2dfebcc/KcYR4GjTvY.lottie
Expected result:
Shown result:
You can find many tests here: https://codepen.io/nyroDev/pen/PwormWw
The animation was created with the following size: "w": 2160, "h": 3840,
On my test cases, I'm showing it at exactly half size (1080x1920), but the bug also occurs at 2160x3840
For a strange reason, when using a square canvas (1080x1080 in my test cases), the image is shown correctly.
When using the old dotlottie-player, it's shown correctly.
Labels
- [x] Add the
Type: Buglabel to this issue.
Hi @theashraf If you need the After Effect Project used to create the test file, here it is:
@nyroDev this appears to be fixed in the latest [email protected]. Feel free to reopen the issue if it still persists. Thanks!
@theashraf The problem is still here. You can open the original codepen https://codepen.io/nyroDev/pen/PwormWw and see that the first 2 exemple are still broken. Should I Reopen an isuee or could you do it?
Hi @theashraf, Should I reopen an issue?