Trims sprite sheets.