I use Piskel for creating pixel art. I often run into the tedious task of cropping tileset images into individual tile images. I use Defold’s atlas system rather than its tilemap system, which requires my large tileset images to be cropped.
I created a Lua script that helps to automate this process.
Hope this helps someone out there who often runs into the same issue. Thanks, and happy Defolding.
Also created a complementary script for merging individual tiles into a single tileset. Although the use case isn’t as obvious with this one, it could be useful if you have separate images but want to load them all simultaneously into something like Piskel.
Interesting stuff. I have struggled to understand how to use imagemagick, I find the documentation completely incomprehensible. I get that it is amazing and I have kind of got it working. Why did you switch to vips? I have never heard of it (doh) it looks good. I need to find time to setup and run your projects.
ImageMagick Lua bindings are incomplete and poorly documented. Vips Lua bindings are comprehensive, slightly better documented, and introduce less dependencies.
The problem that made me switch is not being able to create a new image with ImageMagick. Currently, it can only edit existing images.