How can I apply Neural Filters with script?
- November 11, 2022
- 0 replies
- 346 views
I'm using PS 2023 on Windows 10, and it seems like Neural Filters don't have any supporting functionality in the API, but I need to automate the following process for multiple files:
1. apply neural filters
Super Zoom
- Enhance Image Details, Remove JPEG artifacts
- Noise Reduction 5, Sharpen 6
Photo Restoration
- Photo Enhancement 55, Scratch Reduction 5
- Adjustments
- Halftone Artifacts Reduction 19, JPEG Artifacts Reduction 48
2. save as new layer
- Luminosity instead of Normal
- set 80% opacity
3. clone layer 0 as new layer
- Darken instead of Normal
- Move layer to top
I've attached the listener .log from when I perform my intended operating procedure. Does anyone have any ideas for how to convert this into a usable script? Among other things, I've tried using photoshop_scriptlistener2python to convert the log to usable Python code, and then running that Python code with Python-Photoshop-API/win32com. I can't get the former to generate a correct Python script, and I can't get the latter to even open a document (it alerts the app just fine, though). I'm at my wits end for getting this to work.
Thank you
