Skip to main content
Participant
June 12, 2023
Question

Photoshop API - ActionJSON: Document properties

  • June 12, 2023
  • 1 reply
  • 342 views

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 has been closed for replies.

1 reply

Raymond Camden
Community Manager
Community Manager
June 14, 2023

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

Participant
June 26, 2023

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

 

A.