jeremy bepoix

Results 8 comments of jeremy bepoix

ok, its a begining : ```python from psd_tools import PSDImage psd = PSDImage.open(sel_local_psd_file) bbox = (0, 0, abs(psd.size[0]), abs(psd.size[1])) for layer in psd: if layer.is_group() and layer.is_visible(): layer_image = layer.composite(viewport=bbox)...

Ok, i've found a way... ``` python from psd_tools import PSDImage import numpy as np from numpngw import write_png psd = PSDImage.open(psd_file) # get viewport bbox of psd file bbox...

erf, so there is no way tu use it with npm... ok

Hum, i try to understand with docker image but i didn't get it and how do it in windows env.

python is set to path env ![image](https://user-images.githubusercontent.com/72266507/209351134-d011f924-c8fd-493d-839e-cfd657adcf8b.png)

i d'ont know what to write on to make it work ![image](https://user-images.githubusercontent.com/72266507/209351331-3b377370-9a16-4157-ad91-c25456e656d8.png)

ok, is `python3` linux call vs `python` windows call https://github.com/naskio/n8n-nodes-python/blob/master/nodes/PythonFunction/PythonFunction.node.ts#L171 if i change to `python` is working ![image](https://user-images.githubusercontent.com/72266507/209355183-a515ffc0-6a7f-4a3b-9a04-2e9888e59e9a.png)