11

How do I convert a batch of .pngs into a single .apng?

you are viewing a single comment's thread
view the rest of the comments
[-] one_old_coder@piefed.social 2 points 4 months ago

Nice shitpost! What was your code to achieve this?

[-] maya_the_good_apple@sh.itjust.works 2 points 4 months ago* (last edited 4 months ago)

I currently don't have the code. I didn't save it...

I'll give you a rough idea of what the modified code stack overflow did.

They imported pillow module.

Took the 6 labelled images from their storage.

Appended the images with a set delay of 100ms and saved it as one.

I'm not a coder, so I can't remember the python code.

[-] one_old_coder@piefed.social 2 points 4 months ago

Don't be shy, you are a coder now. Enjoy the chaos!

this post was submitted on 16 Apr 2026
11 points (86.7% liked)

Programming

28335 readers
924 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS