Python tool for generating sprite sheets