laggykiller / rlottie-python

A ctypes API for rlottie, with additional functions for getting Pillow Image.
https://rlottie-python.readthedocs.io/en/latest/
GNU Lesser General Public License v2.1
15 stars 1 forks source link

Won't render images embedded in the lottie #7

Closed Isaac-1010 closed 3 months ago

Isaac-1010 commented 3 months ago

Putting an image in the Lottie file won't show in the output file: While trying to get the frames exported to png files, the outputs are transparent where the image was. Tested with:

  1. Embedded base64 images
  2. Relative path and images in the same dir
  3. Absolute path with a URL

The same Lottie outputs correctly in the online tester: http://rlottie.com/ Lottie file (Base64 image) local2.json

laggykiller commented 3 months ago

Seems like we are hitted by this same issue: https://github.com/Samsung/rlottie/issues/407

Fixed by adding -DLOTTIE_MODULE=OFF during rlottie compilation.

Please try rlottie-python v1.3.5.

laggykiller commented 3 months ago

Closing as it should be fixed and no reply.