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

Verticle Image Rotate in CS3

Participant ,
Feb 16, 2021 Feb 16, 2021

fhfh.JPG

 

When open the photo in scripts Rotate the Veticle Image??

What is Problem is script..

 

Thanks in Advcance..

 

cTID = function(s) { return app.charIDToTypeID(s); };
sTID = function(s) { return app.stringIDToTypeID(s); };

 

var sourceFile= new File("D:/Test/IMG_3888.jpg");
var idPlc = charIDToTypeID( "Plc " );
var desc3 = new ActionDescriptor();
var idnull = charIDToTypeID( "null" );
desc3.putPath( idnull, sourceFile);
var idFTcs = charIDToTypeID( "FTcs" );
var idQCSt = charIDToTypeID( "QCSt" );
var idQcsa = charIDToTypeID( "Qcsa" );
desc3.putEnumerated( idFTcs, idQCSt, idQcsa );
executeAction( idPlc, desc3, DialogModes.NO );

TOPICS
Actions and scripting
383
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
Community Expert ,
Feb 16, 2021 Feb 16, 2021

Are you sure that D:/Test/IMG_3888.jpg meta data has recorded the camera was in portrait mode capturing IMG_3888.jpg?

That Script just places in the images it does not rotate the smart object layers associated transform.

Capture.jpg

JJMack
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
Participant ,
Feb 17, 2021 Feb 17, 2021

It's working fine for CC 2021 But CS3 is not working , when open the image in CS3 , it looks like rotate..

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
Community Expert ,
Feb 17, 2021 Feb 17, 2021

On Windows 10 the script work the same in CS3 as it works in PS 2021. Howevet Adobe System Info shows Windows NT.

image.png

JJMack
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
People's Champ ,
Feb 18, 2021 Feb 18, 2021
LATEST

It looks like a bug in CS3.

You can try to replace it with such actions.

1. Create an empty layer.

2. Convert it to a smart object.

3. Replace the contents of the object with this file.

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