I think that all you can really do, is resize the sprite sheet (canvas, not image), then reposition each sprite so it centres on a grid layout. I like using 16x16 grids, as that gives 256 sprites, even if you only need half of that, the empty space will be compressed when using PNG's, and you can use bytes to store data relating to the sprite sheet, like animation sequences, tiled maps, 16x16 is a handy standard for this stuff.
If your using someone elses sprites, it can be really tricky to figure out animations etc, so always a good idea to spend some time organising sprites into logical sequences. At least all that selecting and moving will give you time to get to know the sprites

.

I got a fever, and the only prescription, is more memes.
