Batch Trim Tool v1.0 Released (win/osx)

Batch Trim Tool is a tool I developed for cropping out whitespace in an image. This is intended for usage with 2D sprites. Other uses are not tested nor are they likely to work.

A key feature of the program is that it supports not just dragging-and-dropping one file in and having it output the trimmed version, but it also supports cropping entire folders and their subdirectories if you tell it to.

Download: Windows v1.0 | Mac OS X v1.0

Usage on Windows
1. Set any settings in btt_settings.ini
2. Drag-and-drop any file or folder into btt.exe and wait
3. The file or folder should be in the same folder with the appended name to it, default is “trimmed”

Usage on Mac OS X
1. Set any settings in btt_settings.ini
2. Open up console and go to directory.
3. Type in “./btt [file name or folder path goes here]”, click enter and wait
4. The file or folder should be in the same folder with the appended name to it, default is “trimmed”

Example of what it does (this is real output from the program). The box around the image shows the size of the image.

Not trimmed (47×47): slime_TreeSlime slime_Slime slime_BoxSlime slime_WingSlime slime_Babble slime_GoldSlime slime_DrakSlime
Trimmed (Various): slime_TreeSlime.trimmed slime_Slime slime_BoxSlime slime_WingSlime slime_Babble slime_GoldSlime slime_DrakSlime

If it has any errors, as usual, please report them on my forum and I’ll attempt to get to them ASAP. Make sure to provide failed files as well. Or if that is not possible, at least make it possible for me to replicate the problem.

Disclaimer: Images used as tests are copyright of Square Enix Holdings Co., Ltd. and Nintendo. Insert other legal nonsense here with smiley faces.

————————————

Published by Goodlookinguy

Owner of NRGsoft, programmer, 日本語を話す人間, and UI aesthetics perfectionist.