sethmlarson.dev

Archives
Log in
Subscribe
January 1, 2026

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 🤣

Blogroll featuring many other blogs, but a single blog title appears heavily corrupted, covering all the other parts of the screen with garbled demon-text.

Don't miss what's next. Subscribe to sethmlarson.dev:
← Newer New ROM dumping tool for SNES & Super Famicom from Epilogue Older → GameCube & Switch “Wrapped” 2025

Add a comment:

You're not signed in. Posting this comment will subscribe you to this newsletter with the email address you enter below.
Share this email:
Share on Hacker News Share on Reddit Share via email Share on Mastodon Share on Bluesky
sethmlarson.dev
Bluesky
Mastodon
Powered by Buttondown, the easiest way to start and grow your newsletter.