I use Visipics to get rid of duplicates.
I use a little program called Riot to compress .jpgs. I hate several things about Riot, and don't really recommend it, but it is what I am used to. I think I will experiment with
https://www.bulkresizephotos.com to see if I like it.