Skip to main content
Participant
November 10, 2009
Question

Need an expert : How to crop some pictures in a Photoshop batch?

  • November 10, 2009
  • 1 reply
  • 817 views

Hi everybody,

Here is my scripting problem.

I have scanned a lot of slides and negatives with a specific scanner.

Before to scan, I haven't limited the image to strict necessary selection.

In consequence, I have thousands of photos which have 1, 2, 3 or sometime 4 borders black or white around the picture that I would like to delete.

I would like to obtain some full images without any border (even if a little part of the picture is lost during the operation).

For me, a manual cropping is too long to realize on each photo.

I would like to script this action with a photoshop batch...but how to do???

I don't want to reduce the picture without to be sure that there is some black or white on the border.

I don't want to sacrifice 10% of the picture if it is not necessary.

Pictures are not exactly on the same position on each image...it is the problem.

Is there a function which can detect these borders to crop the picture to the exact maximum size?

An example is probably better than my poor english...look at example.jpg please (I just would like to obtain the image in the red selection after the script)

Thank you in advance for your help.

I don't know how to do...

Laurent

This topic has been closed for replies.

1 reply

Paul Riggott
Inspiring
November 10, 2009
kzimir73Author
Participant
November 10, 2009

Hi Paul,

Your link is very interesting.

I have done many test with the function Crop and Straighten (in File/Auto) but...this feature doesn't seems to work?!!

I have tested with 1 and more photos in the zone, with a white or a black background and on a flat image...but the feature doesn't detect any picture?

I don't understand why.

Any idea?

Thank you in advance

Best Regards

Laurent

Paul Riggott
Inspiring
November 10, 2009

That is strange just tested the jpg you posted in Photoshop CS4 with this result..