I was having the same problem with the sprites and cropping it one by one was very tedious so i made a small python code to crop these images you can use it , its on my github.
if any problem you can ask.
https://github.com/strikeraryu/multi-crop