What have I been doing all night?
Writing a tool that allows you to turn literally any .png into a party parrot animated png, naturally.
@Taweret I definitely don't get into manic coding grooves, nope, not at all.
@andi it no worky 😭
@eject Did you upload a PNG? I have no idea if it'll work with other formats. Also small is good? 🤷
This is really not very tested lol. 😅
@andi it says it's a png 🤷♀️
@eject Huh annoying, it seems you need to evaluate all the cells first. Hold up, I have a fix...
@eject Erghh, yeah give me a minute.
@andi sorry for breaking your cool thing again!
@eject Lmao thank you for unpaid beta testing my cool thing again! 😂
@eject OKAY NOW TRY IT
@andi oh, masto kills the animation 😠
but it looks cool locally 😄
@eject Wat?! Hmm lemme look...
@eject Hmmm it works if you upload as a custom emoji...
Possibly not as an image upload?
@eject Nope definitely not as an image upload. 😞
@andi i didn't even realise pngs animated tbh
@eject Tell me about it! I was all ready to render to Gif but then I realised Masto's native emoji format is animated PNG so was like Uhhhhhhh
Am I doing it right?
@andi I don't think I'm doing it right
@Forbearance Nope, you are! It'll work if you open it up in Chrome or set it as a custom emoji, uploading apng files as an image attachment for some reason strips the animation, alas. 💚
@andi video/png? Am I having a stroke?
@solarkraft I *think* that's the correct MIME type for an APNG? If I'm wrong please let me know!
@andi I totally forgot APNG was a thing! GIF is classified as an image and APNG is a sub-format of PNG (right?), so I'd consider the result an Image as well ...
This was my first time consciously seeing an APNG in the wild. Certainly cool! Just unfortunate that APNG support is so thin :/
@solarkraft Honestly I would've happily output any other format, it's just that APNG is the format Mastodon likes best for emoji (considering adding GIF support for Slack users). It's not terrible to work with but I did have to do a lot of reading/trial and error to get it to output correctly.
I'm honestly still not sure it's there, I get the occasional weird bug requiring refresh whenever I use it. 😅
This is the personal instance of Andi N. Fiziks. Love me or hate me it's still an obsession 😘