I have a set of images, all of which have quite different resolutions from each other. I want to first crop them in the ratio 2:1 and then resize them to 1000x500 so that the image is not stretched or distorted in any way. I used different image resizer programs to do it but I am able to process only a few images at a time whose lengths are approximately equal. I want a software or a piece of PHP or Java code to process all of the images at once and crop them all in the ratio 2:1 in the center. Any help would be greatly appreciated as I need this often.
Have you ever looked into Photomechanic?