Skip to content

Python plugin-adapter for standart ESL Photoshop

Notifications You must be signed in to change notification settings

Lord-KA/ESL-PyPlug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESL-PyPlug

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.

This is a plug-in with ML-based algorithm that modifies picture with an according style

Building

mkdir build
cd build 
cmake ..
make -j

User usage

Copy libpyplug.so to Plugins dir of your Photoshop. Add python plugins to PythonPlugins dir. Enjoy.

Dev usage

Basically, libpyplug expects your python plugin to have the same interface as ESL c++ plugin, meaning the following:

  1. implement plugin class with getTexture(), apply(), buildSetupWidgets() functions
  2. add global init_module() function with setToolBarSize() and addTool() calls

You can use the same API as ESL c++ standard, with minor differences:

  1. getPicture()/setPicture() handles 3d numpy arrays instead of class Picture

For more info see examples.

About

Python plugin-adapter for standart ESL Photoshop

Resources

Stars

Watchers

Forks

Packages

No packages published