Skip to content
Get started

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

Terminal window
allyhub image import [file] [options]
Argument Type What it is
<file> string The .psd or .psb to make an image of
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

--dir <value>: the project’s folder; default the one around where it is run. --json: print the result as JSON.

Terminal window
allyhub image import ~/Downloads/poster.psd --to launch/poster.ts
allyhub image import 海报.psd --to posters/spring.ts --lang zh-cn

0 when it succeeds; the others are listed in Exit codes.

images: Making an image: boards of Photoshop’s layers, a PSD in and out

image import → check → frames → inspect layout → inspect contrast → dev → render

Was this page helpful?