Linux command
display 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Display an image
display [image.jpg]
Display with specific
display -title "[My Image]" [image.jpg]
Display and resize
display -resize [800x600] [image.jpg]
Display multiple images
display [*.jpg]
Display from URL
display "[https://example.com/image.jpg]"
Display with window geometry
display -geometry [+100+100] [image.jpg]
说明
display is an ImageMagick program that displays images on an X Window System. It provides an interactive viewer with zoom, pan, and basic editing capabilities. In ImageMagick 7, it is invoked as magick display. The viewer supports numerous image formats through ImageMagick's format handling. Interactive features include zooming, rotating, cropping, color adjustment, and annotation. Multiple images can be viewed as a slideshow. display includes a command menu accessible by clicking on the image, providing access to transformations, effects, and file operations. Modified images can be saved in various formats.
参数
- -resize _GEOMETRY_
- Resize image to specified dimensions.
- -title _STRING_
- Window title.
- -geometry _GEOMETRY_
- Window position and size.
- -delay _centiseconds_
- Delay between images in slideshow (in hundredths of a second).
- -update _seconds_
- Detect when image file is modified and redisplay.
- -loop _iterations_
- Loop images then exit.
- -immutable
- Prevent image modifications.
- -verbose
- Print detailed information about the image.
- -help
- Display help information.
FAQ
What is the display command used for?
display is an ImageMagick program that displays images on an X Window System. It provides an interactive viewer with zoom, pan, and basic editing capabilities. In ImageMagick 7, it is invoked as magick display. The viewer supports numerous image formats through ImageMagick's format handling. Interactive features include zooming, rotating, cropping, color adjustment, and annotation. Multiple images can be viewed as a slideshow. display includes a command menu accessible by clicking on the image, providing access to transformations, effects, and file operations. Modified images can be saved in various formats.
How do I run a basic display example?
Run `display [image.jpg]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -resize _GEOMETRY_ do in display?
Resize image to specified dimensions.