Skip to content
Snippets Groups Projects
Commit 793d81f0 authored by Siranjeevi K's avatar Siranjeevi K
Browse files

running instructions

parent fc98bf5f
No related branches found
No related tags found
No related merge requests found
......@@ -6,3 +6,23 @@ Script used by Planning and resources committee for generating ID cards.
+ xlrd (python library to handle MS Excel files)
+ Adobe photoshop
+ Python 2.7
## How to run the script?
+ Put all the photos into photos directory. Name of the file of the photo is the
name on the id card. ('Jane Doe.jpg' -> name on ID = Jane Doe)
+ Run the cmd.txt, it generates ExcelScript\PR.xlsx file. Fill in the rest of the file.
+ Run excel1.py, it generates
- 'ExcelScript\files\dept.txt'
- 'ExcelScript\files\names.txt'
- 'ExcelScript\files\photo_id.txt'
- 'ExcelScript\files\roles.txt'
+ Connect 'PhotoID.jsx' to Adobe photoshop, run it. It generates 'outputs/psd/Jane Doe.psd'
+ Adjust the layers and pictures properly with photoshop for example 'outputs/psd/Jane Doe.psd'
+ Connect 'Save.jsx' to Adobe photoshop, run it. It generates 'outputs/id/Jane Doe.jpg'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment