Giter Site home page Giter Site logo

laggykiller / rlottie-python Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 0.0 132 KB

A ctypes API for rlottie, with additional functions for getting Pillow Image.

Home Page: https://rlottie-python.readthedocs.io/en/latest/

License: GNU Lesser General Public License v2.1

CMake 1.77% Python 98.23%
ctypes ctypes-bindings ctypes-wrapper lottie pillow python rlottie telegram-sticker telegram-stickers tgs

rlottie-python's People

Contributors

laggykiller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rlottie-python's Issues

Help in building ARM 64-bit architecture (AARCH64) for rlottie.

i got this error when i installed a test apk in my phone, OSError: dlopen failed: "/data/data/org.lottie.lottie/files/app/_python_bundle/site-packages/rlottie_python/librlottie.so" is for EM_X86_64 (62) instead of EM_AARCH64 (183). How can i build a AARCH64 architecture to get this to work, or do you have a librlottie.so file that already has this architecture. I'm trying to build a simple lottie viewer to get this to work in the kivy framework, and it does work in my windows enviroment, but in andriod it doesn't work. Can you point me to right direction how i can accomplish this. anything in the c-language is beyond me. Any help is greatly apprecitated.

Bad GIF quality

Hi, the converted GIF has very strong color banding.

image

It looks even uglier when it moves.

AnimatedEmojies_🥳

Performance question/ discussion/ thoughts?

Hi, thank you very much for creating this library. Having something more portable than pyrlottie is awesome, as that's something I was kind of struggling with.

I've noticed that while there's a massive win in terms of cross-platform use, it seems to come at a slight performance cost of about 5%.

Giving myself a refresher on what pyrlottie does versus how I'm using rlottie-python:

I'm using asyncio.create_subprocess_shell with asyncio.Semaphore(multiprocessing.cpu_count()) to call the binaries directly.

With rlottie-python, I'm using concurrent.futures.ProcessPoolExecutor(max_workers=threads) as the executor.

To be honest, I'm not sure if this is a Windows issue. I'm curious if you've noticed any difference in performance between the libraries?

I think if we are in a place where performance is almost equal, then I'd like to start pointing people to this library and offer any dev support, rather than both of us maintaining two libraries that do the same thing.

I realize this is a bit of a brain dump, but I'd be really keen on hearing your thoughts. :)

Thank you

Add wheels for the aarch64 architecture

Would it be possible to provide aarch64 (64-bit ARM) wheels for this project? At least the underlying library, rlottie, claims to support this architecture.

License

Hi, this package looks great. But I saw that it uses the GPL license and I think that will prevent me from being able to use it.

I’m hoping to use it to add support for Lottie files to an MIT-licensed package. I don’t think this is allowed under GPL. We’d have to change our license to GPL which means all our users would have to change their licenses as well.

Any chance you’ve considered a less viral license like LGPL which would require any changes to this library to be open source under LGPL but wouldn’t require users of the library to be GPL? (Or alternatively MIT or Apache-2.0 licenses which are even less restrictive.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.