[python-win32] DoAction problem

2019-07-25 Thread Sylvain . Fejoz
Hello. New in Python and coding. My goal : Apply recorded actions in Photoshop to many folders and subfolders containing images. My inspiration : Web page explaining a Python code using pywin32 : https://vsfxryan.com/portfolio/python-photoshop-action-scripts/, but I do not want to define fu

Re: [python-win32] DoAction problem

2019-07-25 Thread Sylvain . Fejoz
Some little progress : Problematic code modified : psApp.DoAction('jpg_q8','Default Actions') # where 'jpg_q8' is the recorded action and 'Default Actions' the folder where the action is saved. No more error message, but... no result : my tif files are not transformed to jpg files. Help requi

Re: [python-win32] DoAction problem

2019-07-27 Thread Sylvain . Fejoz
Thanks to Mr Bieber too for the explanations and for the triathlon image, I agree with it. As already said, I would be grateful for any advice about getting any reference to the functions DoAction, Export, etc. I am also wondering how, in the following code (source again : https://vsfxryan.com

Re: [python-win32] DoAction problem

2019-07-27 Thread Sylvain . Fejoz
the Python Imaging Library, and all you need is this: from PIL import Image Image.open('myfile.tif').save('myfile.jpg') -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. [pièce jointe "smime.p7s" supprimée