admin管理员组

文章数量:1633915

1、提供identify命令的软件是:ImageMagick

2、linux上的identify命令主要用于获取一个或多个图像文件的格式和特性。

3、基本的命令格式:

identify [options] input-file


identify:命令名称
options:参数
input-file:文件名

4、示例:

[root@server1 download]# identify vim.jpg 
vim.jpg JPEG 1306x1909 1306x1909+0+0 8-bit DirectClass 454KB 0.000u 0:00.000

[root@server1 download]# identify -verbose vim.jpg 
Image: vim.jpg
  Format: JPEG (Joint Photographic Experts Group JFIF format)
  Class: DirectClass
  Geometry: 1306x1909+0+0
  Resolution: 72x72
  Print size: 18.1389x26.5139
  Units: PixelsPerInch
  Type: TrueColor
  Endianess: Undefined
  Colorspace: sRGB
  Depth: 8-bit

#-verbose是显示图片文件的详细内容,更多的参数,可以通过man identify来获取。

 

本文标签: 命令Linuxidentify