ismai117 / kottie

Render After Effects Animations Library - Compose Multiplatform | Inspired by Airbnb/Lottie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose android properties to Kottie

LaatonWalaBhoot opened this issue · comments

There is an option of maintainOriginalImageBounds in lottie-android
Right now Kottie does not expose this option
Setting this fixes the base64 image issue
Would it possible to have this?

Issue with image
As you can see the image at the center has its bounds all wrong
This is fixed in native android lottie by setting the above property

Screenshot_20240217-073007

can you provide resources regarding the maintainOriginalImageBounds, I don't understand it

Can I just ask why your animation background is set to Black? It should be transparent

screen-20240228-195540.3.mp4

There's nothing more I can do, Sorry.

if you want to adjust the frame size then use the KottieAnimation modifier