I'm an amateur photographer and I use various scripts like you wanted to do. (auto rotate, crop, border...).
I can easily provide you the result of your photos (you'll upload in my server, the process will be automatic, so picture will be available very fastly).