Photoshop scripting tool to chain transformations together. The tool is under development, so it only works with a reduced set of tranformations, e.g. crop, rotation, flip, scale, copy paste from same image, blur, motion blur, unsharp. These transformations have been reimplemented as custom MediFor Journaling Tool plugins in order to have a common guideline for the parameters across various software.
- Python 2 or 3
- Photoshop (tested with Photoshop CC Release 2017 1.1)
- Adobe Extendscript Toolkit CC (tested with ExtendScript 4.5.5)
We refer to the root directory of the repository as $ROOT
. Folder 'test' contains some test files you can use for check the tool out.
In particular:
- $ROOT/test/journal_from_JT.json journal file generated with MediFor journaling tool
- $ROOT/test/img_src/* test images to process
Intended use case is the following:
Copy folder jt_plugins in your maskgen/plugins. This step is not mandatory if you only want to test the tool with the provided input files.
cd $ROOT
python jt_parser.py test/journal_from_JT.json test/parsed_journal_for_PS.json
input: json journal from MediFor journaling tool
output: json with ordered operations chain
Open photoshop_chain.jsx with Adobe Extendscript Toolkit and set rootDir
to $ROOT
Execute photoshop_chain.jsx (Photoshop should open up automatically)
Output images are saved in $ROOT
/test/img_dst
Users agree to the following restrictions on the utilization of this code:
- Redistribution: This code, in whole or in part, will not be further distributed, published, copied, or disseminated in any way or form whatsoever, whether for profit or not.
- Modification and Commercial Use: This code, in whole or in part, may not be modified or used for commercial purposes, without a formal agreement with the authors of the considered code.
- Citation: All documents and papers that report on activities that exploit this code must acknowledge its use by including an appropriate citation to the related publications.
- Indemnification: The authors are not responsible for any and all losses, expenses, damages, resulting from the use of this code.