← 返回命令列表

Linux command

magick-montage 命令

文本

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

常用示例

Create image montage

magick montage [*.jpg] [output.png]

Set tile layout

magick montage -tile [3x3] [*.jpg] [output.png]

Set thumbnail size

magick montage -geometry [200x200+5+5] [*.jpg] [output.png]

Add labels

magick montage -label '%f' [*.jpg] [output.png]

Set background color

magick montage -background white [*.jpg] [output.png]

Create montage with title and shadow

magick montage -title "[My Gallery]" -shadow [*.jpg] [output.png]

说明

magick montage creates composite images from multiple images arranged in a grid. Part of ImageMagick. Useful for creating contact sheets, galleries, and image previews. Supports labels and frames.

参数

-tile _geometry_
Grid layout (columns x rows).
-geometry _geometry_
Thumbnail size and spacing.
-label _string_
Add label to thumbnails.
-background _color_
Background color.
-border _geometry_
Border around thumbnails.
-frame _geometry_
Frame around thumbnails.
-shadow
Add soft shadow beneath each thumbnail.
-title _string_
Title for the montage image.
-font _name_
Font for labels and title.
-pointsize _value_
Font size for labels and title.
-mode _type_
Framing style: Frame, Unframe, or Concatenate.

FAQ

What is the magick-montage command used for?

magick montage creates composite images from multiple images arranged in a grid. Part of ImageMagick. Useful for creating contact sheets, galleries, and image previews. Supports labels and frames.

How do I run a basic magick-montage example?

Run `magick montage [*.jpg] [output.png]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -tile _geometry_ do in magick-montage?

Grid layout (columns x rows).