I have several hundred images that I have added a standard sized frame to, via Photoshop. While using a software application that detects duplicate images, it has become apparent that because of the frame, the algorithms in the software application do not function very well.
I'm wondering if there is a relatively easy way to automate the process of removing the frame from several hundred JPEG images. The same frame was applied to each image, although the size of each image varies. I have attached a screenshot of one of the images.
My first thought was to use a standard crop, which for example, would be positioned 5 pixels from each side. However, I have no idea how to accomplish this and to automate it, if in fact it is even possible.
Any suggestions would be greatly appreciated.