Copy link to clipboard
Copied
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!
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.