ESL standard python adapter
This lib can be added to Plugins directory of your ESL c++ standard Photoshop application to provide a way to use python-written plugins.
mkdir build
cd build
cmake ..
make -jCopy libpyplug.so to Plugins dir of your Photoshop.
Add python plugins to PythonPlugins dir.
Enjoy.
Basically, libpyplug expects your python plugin to have the same interface as ESL c++ plugin, meaning the following:
- implement plugin class with
getTexture(),apply(),buildSetupWidgets()functions - add global
init_module()function withsetToolBarSize()andaddTool()calls
You can use the same API as ESL c++ standard, with minor differences:
getPicture()/setPicture()handles 3d numpy arrays instead ofclass Picture
For more info see examples.
