Skip to main content
Participant
June 6, 2021
Answered

bodymovin/lottie convert an animation to html - prob with png size.

  • June 6, 2021
  • 2 replies
  • 1916 views

I have a little after effects problem -> to convert an animation to html & .json with Bodymovin / Lottie. I havec to make a banner which must not exceed 150Kb. there are .pngs in my animation which are a bit too heavy, but unfortunately i cannot change them. 

Is there a chance to shrink these pngs to a minimum size without losing their quality?

Thnak you in advance

This topic has been closed for replies.
Correct answer Mylenium

I'm sorry, but I cannot help you if you do not understand what I'm asking or you feel you are not able to provide the relevant info.

 

Mylenium

2 replies

Mylenium
MyleniumCorrect answer
Legend
June 8, 2021

I'm sorry, but I cannot help you if you do not understand what I'm asking or you feel you are not able to provide the relevant info.

 

Mylenium

Participant
June 8, 2021

ok, i will figure out alone. thank you man 

Mylenium
Legend
June 6, 2021

Without any idea about the specs and contents of the PNG as well as how they are actually used in your animation nobody can answer that. From slizing up large images to get multiple smaller files with more efficient compression to reducing color palettes with minor tweaks this could be anything. You need to be much more specific and actualyl show us something along with giving us the critical details.

 

Mylenium

Participant
June 6, 2021

I am using png images to create an animation on a banner. the data.json is 95Kb. my index.html is 95 bytes long. the image folder is at 900Kb even after conversion with bodymovin & lottie.
the final file (with data.son / .html. / lottie / images must be 150Kb max!
I do not know about after effects. I can not be more explicit and have the terms that would suit you.