← 返回命令列表

Linux command

inkmake 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Export all layers

inkmake [input.svg]

Export specific size

inkmake -w [1024] [input.svg]

Export to directory

inkmake -o [output/] [input.svg]

Export specific format

inkmake -f [png|pdf|svg] [input.svg]

Export specific layers

inkmake -l "[layer1,layer2]" [input.svg]

说明

inkmake automates Inkscape exports for batch processing. It exports layers or objects from SVG files to various formats. The tool is useful for generating icons, assets, or multiple sizes from a single source. It wraps Inkscape's export capabilities.

参数

-w _WIDTH_
Output width in pixels.
-h _HEIGHT_
Output height in pixels.
-o _DIR_
Output directory.
-f _FORMAT_
Output format (png, pdf, svg).
-l _LAYERS_
Comma-separated layer names.
-d _DPI_
Output resolution.
--help
Display help information.

FAQ

What is the inkmake command used for?

inkmake automates Inkscape exports for batch processing. It exports layers or objects from SVG files to various formats. The tool is useful for generating icons, assets, or multiple sizes from a single source. It wraps Inkscape's export capabilities.

How do I run a basic inkmake example?

Run `inkmake [input.svg]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -w _WIDTH_ do in inkmake?

Output width in pixels.