Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/summasmiff/csv-to-psd
https://github.com/summasmiff/csv-to-psd
csv-converter parser
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/summasmiff/csv-to-psd
- Owner: summasmiff
- Created: 2014-11-24T16:36:43.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-04T23:29:15.000Z (about 10 years ago)
- Last Synced: 2024-11-28T03:26:55.294Z (about 1 month ago)
- Topics: csv-converter, parser
- Language: Ruby
- Size: 441 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
csv-to-~~psd~~ pdf
==========
The PSD gem will export Photoshop layer data as a nested hash, including any text object layers.
Find-and-replace operations can be made using a CSV as a dictionary.#####Unfortunately, the PSD gem does not support writing to a PSD, so no direct editing of a PSD file can be done currently.
###Instead, this is a script to perform similar operations on PDF files.
This script:
>1. Reads a CSV file that contains two columns, with originals first, followed by translations.
>2. If the sample PDF contains any matches with the CSV "Original" column, it replaces it with the corresponding "Translation".
>3. A new PDF is written with the updated translations.
>4. A new CSV is then created with a third column, "Success", next to each successfully translated set.
Repository includes samples .csv and .pdf files to test.