← 返回命令列表

Linux command

pamdice 命令

文本

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

常用示例

Slice image into tiles

pamdice -width=[100] -height=[100] -outstem=[tile] [input.pam]

Slice with overlap

pamdice -width=[100] -height=[100] -hoverlap=[10] -voverlap=[10] [input.pam]

说明

pamdice slices images into tiles. Creates multiple output files. The tool divides images into grid. Part of Netpbm.

参数

-width _PIXELS_
Tile width.
-height _PIXELS_
Tile height.
-outstem _PREFIX_
Output filename prefix.
-hoverlap _PIXELS_
Horizontal overlap.
-voverlap _PIXELS_
Vertical overlap.

FAQ

What is the pamdice command used for?

pamdice slices images into tiles. Creates multiple output files. The tool divides images into grid. Part of Netpbm.

How do I run a basic pamdice example?

Run `pamdice -width=[100] -height=[100] -outstem=[tile] [input.pam]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -width _PIXELS_ do in pamdice?

Tile width.