Skip to main content
Participant
March 25, 2016
Question

Photoshop CS6 scripting : extracting manual transformation info

  • March 25, 2016
  • 1 reply
  • 648 views

Hi everyone,

well, the title is quite self explanatory. I'm trying to extract, via a script in java, the information of a transformation I perform manually on a layer (Ctrl+T / Distort ) in Photoshop (in order to later apply it on other layers). Any idea on how to do that? or if that's doable at all.

Thanks for your help!

This topic has been closed for replies.

1 reply

Chuck Uebele
Community Expert
Community Expert
March 25, 2016

I think some features of transform can be scripted, and others can't. I believe simple transforms can be, but things like warp don't work. Use scriptlistener and see what is recorded and what isn't.

FubarchAuthor
Participant
March 25, 2016

Thanks for your quick reply Chuck,

the transformation I'm trying to achieve is pretty simple. My problem, however, is not to script it (that I think I can do), but to extract transformation informations (degrees, height %, etc.) of a manual transformation (as in not scripted, done by the user himself) to feed my script so that it can then make the same transformation but using the script this time. Is this making any sense?

Chuck Uebele
Community Expert
Community Expert
March 25, 2016

That makes sense. It would have to be done on a smart object. I don't know enough about creating AM code to do this, but it might be possible to get the properties using AM code.