Photoshop: Automatic Crop after Panorama / Photomerge ?

  • 3
  • Question
  • Updated 8 years ago
  • (Edited)
Dear all

Aside from manually using the crop or trim tool, is there an automatic way to crop the largest permissible *internal* rectangular area from a freshly photomerged image??

I stitch panoramas very often and would like a way for Photoshop to automatically trim the image so it can be flattened and saved immediately.

Am attaching a picture to help describe what I'm after and would appreciate any thoughts you may have!

Photo of Wideangle 1234

Wideangle 1234

  • 4 Posts
  • 0 Reply Likes
  • seeking a feature...

Posted 9 years ago

  • 3
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 16663 Posts
  • 2726 Reply Likes
Official Response
I posted Dave's script here:

Right-Click the link to download the script.

The script will pop a dialog asking for some images to create a panorama with Photomerge. It then flattens the resulting layers and does a content aware fill to fill in the missing areas around the panorama.

I added some code so you can undo the layer merge and content aware fill in one step.