psd-extractor
v0.1.1
Published
extract fonts and colors from psds
Downloads
7
Readme
psd-extractor
extract font faces, sizes and colors from PSDs, accumulate and see their usage count.
cli
Usage: psd-extractor
<file ...>
to extract data from PSDs in current directory (*.psd
) run:
$ psd-extractor
or pass list of files as arguments:
$ psd-extractor foo.psd pages/*.psd
example output: examples/extracted.json
js
var psdExtractor = require("psd-extractor")
var fooData = psdExtractor('foo.psd')
var pageData = psdExtractor('pages/*.psd')
var allData = psdExtractor(['foo.psd', 'pages/*.psd'])