It's not a huge piece of code, but if the question is how much code you need to put in a npm module to justify its existence… well, it's a lot bigger than left-pad!
— Press on the pic and it moves. It's magic. It even starts half a second before the press.
— OMG it looks like journals in Harry Potter!!! Send the Gif to me!
— Nope, can't, not a Gif
— What!? Hahaha! So you neither have proper earphones nor a way to back up your Live photos!?
I bought the iPhone 7 for the secure enclave and for Tim's standoff against the FBI, and Safari's reading mode is a bonus against ads, but the social standing of owning an iPhone is not what it used to be...
Pretty much all iOS apps support live photos; you can iMessage them; you can even download apps to get the video file or convert it to a GIF.
Technically GIFs can have as many colors as you like. Each frame can have its own 256 color palette, and any transparent pixels are left the color of the pixel from the previous frame, so you can build up a full color image over time. This is silly and you'd never actually do it, but still, it is possible.
Technical explanation and demo: https://notes.tweakblogs.net/blog/8712/high-color-gif-images...
Oh, that's right, iOS doesn't even support WebM let alone let you export Live Photos as WebM (or MP4 for that matter). That you need a third-party app to share Live Photos with anything other than another iOS device is pretty shameful.
How is this argument not dead yet…