I do bulk editing and would like to be able to record and automate a set of instructions that accomplish the following.
Say I have an image of an apple. The apple is off center - ie, the background is grey, and the image is slightly off center to the bottom right.
I would like to be able to select, using the rectangular select tool, the apple. Then I would like to be able to expand this select to the maximum dimensions it can fit within the image while keeping the apple right in the center. then I would like to crop the image as such.
What this means is, since the apple is slightly to the bottom right, the resulting image would reach the bottom and right boundaries first and accordingly crop off some portion of the top and left.
If using the select tool is not right, any other method is fine. But right now I have to manually crop and with every image manually adjust it which adds time. I would like the only manual work to be creating the select box around the subject matter.