Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
id-card-planning-and-resources
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vasantha Ganesh Kanniappan
id-card-planning-and-resources
Commits
793d81f0
Commit
793d81f0
authored
7 years ago
by
Siranjeevi K
Browse files
Options
Downloads
Patches
Plain Diff
running instructions
parent
fc98bf5f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+21
-1
21 additions, 1 deletion
README.md
with
21 additions
and
1 deletion
README.md
+
21
−
1
View file @
793d81f0
...
...
@@ -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
\P
R.xlsx file. Fill in the rest of the file.
+
Run excel1.py, it generates
-
'ExcelScript
\f
iles
\d
ept.txt'
-
'ExcelScript
\f
iles
\n
ames.txt'
-
'ExcelScript
\f
iles
\p
hoto_id.txt'
-
'ExcelScript
\f
iles
\r
oles.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'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment