Skip to main content
Participant
March 17, 2023
Open for Voting

Straighten Tool - Automatic straightening of multiple images with different tilt angle

  • March 17, 2023
  • 3 replies
  • 312 views

My suggestion is regarding the "Straighten Tool (A). Double click to straighten automatically" under Crop & Rotate in Adobe Camera Raw (probably pertains to Lightroom as well). As of now, you can straighten multiple images at the same time, but this works only for series of images with the same tilt angle (e.g. I need to straighten all images by 15 degrees). However, ACR does not recompute for different tilt angles, only copies the change in the main image to the other ones.

 

Unfortunatelly, when you are editing hundreds of images that are all tilted under different angles, you have to double click to straighten for each of them separately. Double clicking the Straighten Tool is by all means a time saver in most cases, but having to do this with each image is quite time-consuming.

 

I understand that automatic straightening of dozens or even hundreds of images might take a big amount of computing power, but it would be a great feature to have and would save a huge amount of time.

3 replies

Stephen Marsh
Community Expert
Community Expert
March 17, 2023
quote

Hi Stephen, thanks for the upvote. Regarding the script, I think this is too much for me to comprehend, I don't understant JAVA or whatever that script is, meaning, I wouldn't know what I am doing 🙂


By @yorgecom

 

You don't need to understand JavaScript/ExtendScript (not the same as JAVA) in order to use it.

 

This is why I included a helpful link on downloading/saving/installing/running scripts. :]

yorgecomAuthor
Participant
March 17, 2023

Hi Stephen, thanks for the upvote. Regarding the script, I think this is too much for me to comprehend, I don't understant JAVA or whatever that script is, meaning, I wouldn't know what I am doing 🙂

Stephen Marsh
Community Expert
Community Expert
March 17, 2023

I agree and have voted!

 

I'm not sure if this helps or not... The following script uses the Camera Raw Filter > Geometry option (not the plug-in for raw images):

 

You can change the option in the script code.

 

 

The script can be recorded into an Action and used for the Automate > Batch command, or one of many image processing scripts.

 

/*
https://community.adobe.com/t5/photoshop/jsx-gt-camera-raw-filter-gt-transform-possible/m-p/11197302?page=1#M338216
JSX > Camera Raw Filter > Transform. Possible?

Camera Raw Filter - Transform Values:
1 = Auto, 2 = Full, 3 = Level, 4 = Vertical
*/
transformCRF(transValue = 1);

function transformCRF() {
    var actDesc = new ActionDescriptor();
    var transCode = charIDToTypeID("PerU");
    actDesc.putInteger(transCode, transValue);
    executeAction(stringIDToTypeID("Adobe Camera Raw Filter"), actDesc, DialogModes.NO);
}

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html