Skip to main content
Participant
January 27, 2015
Answered

Photoshop Scripting as an api?

  • January 27, 2015
  • 3 replies
  • 977 views

Hey there!

I am looking at a way of turning a photoshop script into a web service? I want to be able to hit an api endpoint with an image and have it return the image after a bunch of pre-defined actions have been performed.

Is there any way to do this or is there another Adobe product that can help me do this?

Thanks so much!

This topic has been closed for replies.
Correct answer Dave Merchant

The Adobe End User License Agreement strictly forbids running desktop software as a service (see clause 2.1.7.2). Your software is licensed for use by one person ONLY, and attaching it to a web API would result in swift legal action.

3 replies

Dave MerchantCorrect answer
Legend
January 28, 2015

The Adobe End User License Agreement strictly forbids running desktop software as a service (see clause 2.1.7.2). Your software is licensed for use by one person ONLY, and attaching it to a web API would result in swift legal action.

matias.kiviniemi
Legend
January 28, 2015

One risk is that you'd be violating Photoshop EULA doing that (at least if offering it for other people). Also several such services exists and you might want to look into just building something on top of them. Third point/idea is to take some existing image manipulation library like ImageMagick and mapping that with a web/Javascript API (those probably exist too) so you don't have to do whole stack.

JJMack
Community Expert
Community Expert
January 27, 2015

If you have a Windows or Mac platform Web Server  those platforms can run Photoshop. A server application may be able to launch Photoshop passing a file. Perhaps an Open event can be set up that process the passed image file. Where filename is use to trigger the processing option needed to be carried out , At the the end that process would create the images file you want and close down exit  Photoshop. Photoshop closing would continue the server processing being performed that launched Photoshop and waited on its completion.

JJMack