3 Replies Latest reply on Jan 28, 2015 12:35 AM by Dave Merchant

    Photoshop Scripting as an api?


      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!

        • 1. Re: Photoshop Scripting as an api?
          JJMack Most Valuable Participant

          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.

          • 2. Re: Photoshop Scripting as an api?
            matias.kiviniemi Level 3

            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.

            • 3. Re: Photoshop Scripting as an api?
              Dave Merchant MVP & Adobe Community Professional

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