Pyxel Edit Forum Archive
ArchiveFeature requests

Batch processing

S
SinisterDesign
Jun 20, 2016 at 4:11 pm
I think PyxelEdit would benefit enormously from the capability to perform batch processing: that is, the ability to queue up a series of actions to automatically perform on each of the images within a given folder or set of folders. Photoshop has this capability, and it makes the program hugely efficient to use when performing small, repetitive edits to large numbers of assets.

So, what's an example of a situation where would this be useful? I can tell you one I just ran into today! I have hundreds of separate sprite sheets from an RPG that I created; I want to run them all through a texture packer. However, texture packers only trade in individual frames, not in whole sprite sheets, so I need to split each sprite sheet up into dozens of individual images. This means means individually importing each sprite sheet as a tiled document with Import Tiles checked, going to File > Export > Export Tileset, selecting Tiles as separate files, typing in the file name, and hitting Save.

This takes only about 30 seconds per sprite sheet, but when you have hundreds of sprite sheets, you're looking at hours of work and lots of potential for an erroneous input here or there. Being able to just designate a sequence of basic actions like that to be performed on a folder or set of folders would be a huge time-saver.