allyhub image import
Makes an image of a Photoshop file: a board an artboard (else its canvas), each layer of its kind (pixels, type, shape, adjustment, fill, group) with its blend, opacity, mask and effects, a picture a pixel layer in media/, the words in the script, the file kept in source/; says what it could not carry over as it is; never over a place that is taken
allyhub image import [file] [options]Arguments
Section titled “Arguments”| Argument | Type | What it is |
|---|---|---|
<file> |
string | The .psd or .psb to make an image of |
Options
Section titled “Options”| Option | Type | Default | What it does |
|---|---|---|---|
--to |
string | The image’s module, from the project’s root (default <the file’s name>.ts); a person’s changes are <name>.yaml beside it, its script <name>.<lang>.yaml, its pictures and the file as it was beside them under names no file there has | |
--lang |
string | "en" |
The language of its words: its script is <name>.<lang>.yaml |
Global options
Section titled “Global options”--dir <value>: the project’s folder; default the one around where it is run. --json: print the result as JSON.
Examples
Section titled “Examples”allyhub image import ~/Downloads/poster.psd --to launch/poster.tsallyhub image import 海报.psd --to posters/spring.ts --lang zh-cnExit codes
Section titled “Exit codes”0 when it succeeds; the others are listed in Exit codes.
In the work
Section titled “In the work”images: Making an image: boards of Photoshop’s layers, a PSD in and out
image import → check → frames → inspect layout → inspect contrast → dev → render