Skip to main content
Participant
Jun 12, 2023 8:40 AM UTC
Question

Photoshop API - ActionJSON: Document properties

Hi Developers,

 

is it possible to read some document properties within the command of an action Json.

For example, i need to know the actual width and height of the document after an automatic trim and i need to know the RGB color code of a pixel after applying the commanf "Average"

 

 

Thank You Very Much

Andrea

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Raymond Camden
Community Manager
Community Manager
Jun 14, 2023 3:11 PM UTC

Could you run the documentManifest API first to get that info, then modify your JSON before calling the actionJSON endpoint?

Translate
Participant
Jun 26, 2023 1:07 PM UTC

Thank You very much for your feedback. I will follow your advice and i will take a look about it. 

 

A.

Translate