Need to remove borders from multiple images

2

I have a few hundred family images and they were all sent to us with borders that I would like to remove. Thankfully the borders are all the same size of 20 pixels and they are all .jpg so this will probably make things easier but im looking for a way to "batch process" all of them quickly so I dont need to open photoshop for each image and do it individually. Command line is preferred, the only big problem is they are mostly different sizes.

None

Posted 2009-09-27T22:23:52.117

Reputation:

This question has a broken image. – Gaff – 2011-09-01T04:22:08.683

Answers

3

You can use ImageMagick for this. You will need to use the -shave switch.

example:

convert -shave 20x20 *.jpg

John T

Posted 2009-09-27T22:23:52.117

Reputation: 149 037