Skip to main content
Participant
May 13, 2016
Question

Using Photoshop engine only

  • May 13, 2016
  • 1 reply
  • 503 views

Hi everyone,

I have a project for a windows application which will use photoshop engine.

What I want is that my application could get images, use PS filters and get the results.

I was reading this post Automating Photoshop With C# // Josh Wright that seems to answer most of my questions.

But not all :

- Is it thread safe ? I know it's not for plugin but for automation also ?

- Does Adobe offer a dlls only installation of CC ? As the result will be on a server, it would be great if I don't have to install all the PS components. In case of no, is it possible to have a list for only necessary dlls ?

- Will it work in a session-less mode ? I don't need to be logged to use it.

- Can I manage PS errors ? Like if PS hangs or crashes for some reasons (trying to display a message box)

- In case I can run in session-less mode from the server, how will work the auth process for the CC license. Will I need to log to the server and update my subscription every month ? Can it be an automatic process ?

I wanted to use the javascript possibilities but tell me if I'm wrong, PS need to be running ?

Thank you for your help, and sorry for so many questions.

This topic has been closed for replies.

1 reply

Tom Ruark
Inspiring
May 13, 2016

No. The Photoshop API is not thread safe.

No. And you should consult the EULA regarding the use as a server.

No. You can run it headless on windows but someone has to be the "user".

Yes. I would launch and monitor with a separate app that can kill/restart as necessary. I would also install a "modal dialog" watcher and either cancel or "press the default". We try not to pop modal dialogs during automation runs but it happens. There are flags to control dialogs via automation.

I"m not sure how automatic the "logged into CC Cloud" can be but the license should keep itself up to date as long as you are a valid user.

Sorry for all the "No" answers but that is how I understand it.