Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Nov 10, 2009 Nov 10, 2009

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

TOPICS
Actions and scripting
815
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Valorous Hero ,
Nov 10, 2009 Nov 10, 2009
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 10, 2009 Nov 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Nov 10, 2009 Nov 10, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Nov 10, 2009 Nov 10, 2009
LATEST

Crop and Straighten can have trouble with some images, but with your test image it works for me also.

Which version are you using. It works for me with CS3 and CS4

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines