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.

@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...

@andi sorry for breaking your cool thing again!

@eject Lmao thank you for unpaid beta testing my cool thing again! πŸ˜‚

@andi oh, masto kills the animation 😠

but it looks cool locally πŸ˜„

@eject Hmmm it works if you upload as a custom emoji... :party_mushroom:

Possibly not as an image upload? :thonk_shark:

@eject Nope definitely not as an image upload. 😞

@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

@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. πŸ’š

@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. πŸ˜…

Sign in to participate in the conversation
Nuklear Family

This is the personal instance of Andi N. Fiziks. Love me or hate me it's still an obsession 😘