I am happy to pay someone to do this work as this is a commercial requirement.
Please note that I am looking at this batch process primarily to deal with product photography on a plain pure white background. If you can make it work for "busier" images, that would be excellent, but is not a requirement.
The batch process should do the following:
1. Open any allowable image type;
2. Make a note of the original image dimensions in pixels;
3. Find the main subject of the image, check the width and height in pixels and precisely centre it;
4. Add or remove a border to recreate an image of exactly the same number of pixels as you started with;
5. Save with the original file name / file type;
6. Close the image file.
If you can suggest any other enhancements I would be very interested to hear your ideas.
Sample image
