...If the image is too big, this application knows how to optimize it by permuting and repositioning the modules into the image.
Also, this editor knows how to export the sprite information in a binary format. Command line is supported for exporting in binary format.
Undo/Redo is already implemented in case you need it.