[SOLVED, lock pls] Batch cropping in Photoshop

Paper Mario

SPM Trash
Forum Moderator
Pronouns
She/They
MarioWiki
Fawfulthegreat64
I have a ton of images (Mario & Luigi: Dream Team sprites) that have unneeded space in them. I want to crop 'em all so that the edges of the sprites are the edges of the image. But the only tutorials I can find assume I want them all cropped the same way, which is obviously not going to work as each sprite has different dimensions. Is there a way to batch crop all unneeded space from the images so that each one crops to the edges of the sprite (basically crop as far as possible without deleting pixels)

I'm just tired and don't have the patience to do all the Dream World enemies and remaining bosses right now. I've done every Real World enemy that has an available sprite, but I'd really like a way to crop these faster. Help is appreciated.


Nvm, I figured it out, there is a "trim" command, and I used this tutorial, it works for windows too, even though it has apple in the url
 
Back