Cutting spritesheets like cookies with Python & Pillow 🍪
Happy new year! 🎉
For an upcoming project on the blog requiring many video-game sprites I've created a small tool (“sugarcookie”) using the always-lovely Python image-processing library Pillow. This tool takes a spritesheet and a list of mask colors, a minimum size, and then cuts the spritesheet into its component sprites.
Read more: https://sethmlarson.dev/cutting-spritesheets-like-cookies-with-python-and-pillow
Also, I was very tempted to publish my blogroll with the original title of "Drawing with zero-width characters" by Benjamin Swerdlow... it definitely crowds out the other recent entries 🤣

Don't miss what's next. Subscribe to sethmlarson.dev:
Share this email:
Add a comment: