Lottie-web: png images to base64 endcoding?

Created on 20 Apr 2017  路  8Comments  路  Source: airbnb/lottie-web

can bodymovin provide an option to encode png images into base64 format and put them in the json ?
then it will be a real 'standalong' mode.

Most helpful comment

Implemented on version 5.1.15

All 8 comments

yes, I could add an option for doing that.
I need to find a moment to address exporting pngs from the render queue from your pull request.
And also export to jpgs when images have no transparency.

Couldn't be better

coooool!
cant wait for it :)
another idea: compress the pictures after they exported using some powerful online library like tinypng. As i know tinypng provides some apis(https://tinypng.com/developers), with some code it can make the 'upload-compress-download-replace' process automatically.
reference:
http://danielsetzermann.com/howto/how-to-compress-png-files/

That would be top as there's many cases where exported images file paths are troublesome.

Would love this

+1
Hi @bodymovin ! Thank you for your support! :)
Could you tell please, will it be implemented in the nearest future?

Implemented on version 5.1.15

@bodymovin great job, thanks for that! 馃帀

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ochanje210 picture ochanje210  路  3Comments

joelponce picture joelponce  路  4Comments

processprocess picture processprocess  路  3Comments

Ipaulsen picture Ipaulsen  路  4Comments

DannyK123456 picture DannyK123456  路  3Comments