identify 使用备忘录

NAME

identify  -  describes  the  format  and characteristics of one or more

image files.

SYNOPSIS

identify [options] input-file

OVERVIEW

The identify program is a member of the ImageMagick(1) suite of  tools.

It describes the format and characteristics of one or more image files.

It also reports if an image is incomplete or corrupt.  The  information

returned includes the image number, the file name, the width and height

of the image, whether the image is colormapped or not,  the  number  of

colors  in  the  image (by default off use -define unique=true option),

the number of bytes in the image, the format of the image  (JPEG,  PNM,

etc.),  and  finally  the number of seconds it took to read and process

the image. Many more attributes are available with the verbose  option.

For  more information about the identify command, point your browser to

file:///usr/local/Cellar/imagemagick/7.0.4-10/share/doc/ImageMag-

ick-7/www/identify.html    or  http://www.imagemagick.org/script/iden-

tify.php.

Last login: Thu Sep 21 09:48:18 on ttys000

-bash: /etc/bashrc: line 10: unexpected EOF while looking for matching `"'

-bash: /etc/bashrc: line 12: syntax error: unexpected end of file

dunbardeMacBook-Pro:~ dunbar$ identify

Version: ImageMagick 7.0.4-10 Q16 x86_64 2017-02-18 http://www.imagemagick.org

Copyright: © 1999-2017 ImageMagick Studio LLC

License: http://www.imagemagick.org/script/license.php

Features: Cipher DPC HDRI Modules

Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib

Usage: identify [options ...] file [ [options ...] file ... ]

Image Settings:

-alpha option        on, activate, off, deactivate, set, opaque, copy

transparent, extract, background, or shape

-antialias          remove pixel-aliasing

-authenticate password

decipher image with this password

-clip                clip along the first path from the 8BIM profile

-clip-mask filename  associate a clip mask with the image

-clip-path id        clip along a named path from the 8BIM profile

-colorspace type    alternate image colorspace

-crop geometry      cut out a rectangular region of the image

-define format:option

define one or more image format options

-density geometry    horizontal and vertical density of the image

-depth value        image depth

-endian type        endianness (MSB or LSB) of the image

-extract geometry    extract area from image

-features distance  analyze image features (e.g. contrast, correlation)

-format "string"    output formatted image characteristics

-fuzz distance      colors within this distance are considered equal

-gamma value        of gamma correction

-interlace type      type of image interlacing scheme

-interpolate method  pixel color interpolation method

-limit type value    pixel cache resource limit

-matte              store matte channel if the image has one

-moments            report image moments

-monitor            monitor progress

-ping                efficiently determine image attributes

-precision value    maximum number of significant digits to print

-quiet              suppress all warning messages

-read-mask   filename  associate a read mask with the image

-regard-warnings    pay attention to warning messages

-respect-parentheses settings remain in effect until parenthesis boundary

-sampling-factor geometry

horizontal and vertical sampling factor

-seed value          seed a new sequence of pseudo-random numbers

-set attribute value set an image attribute

-size geometry      width and height of image

-strip              strip image of all profiles and comments

-unique              display the number of unique colors in the image

-units type          the units of image resolution

-verbose            print detailed information about the image

-virtual-pixel method

virtual pixel access method

Image Operators:

-channel mask        set the image channel mask

-grayscale method    convert image to grayscale

-negate              replace every pixel with its complementary color

Miscellaneous Options:

-debug events        display copious debugging information

-help                print program options

-list type          print a list of supported option arguments

-log format          format of debugging information

-version            print version information

By default, the image format of 'file' is determined by its magic

number.  To specify a particular image format, precede the filename

with an image format name and a colon (i.e. ps:image) or specify the

image type as the filename suffix (i.e. image.ps).  Specify 'file' as

'-' for standard input or output.

dunbardeMacBook-Pro:~ dunbar$ man identify

horizontal and vertical sampling factor

-seed value          seed a new sequence of pseudo-random numbers

-set attribute value set an image attribute

-size geometry      width and height of image

-strip              strip image of all profiles and comments

-unique              display the number of unique colors in the image

-units type          the units of image resolution

-verbose            print detailed information about the image

-virtual-pixel method

virtual pixel access method

Image Operators:

-channel mask        set the image channel mask

-grayscale method    convert image to grayscale

-negate              replace each pixel with its complementary color

Miscellaneous Options:

-debug events        display copious debugging information

-help                print program options

-list type          print a list of supported option arguments

-log format          format of debugging information

-version            print version information

By default, the image format of `file' is determined by its magic  num-

ber.  To  specify a particular image format, precede the filename with

an image format name and a colon (i.e. ps:image) or specify  the  image

type as the filename suffix (i.e. image.ps).  Specify 'file' as '-' for

standard input or output.

NOTE

Although some options appear to modify the file to be  identified,  the

identify  command  is strictly read only. For instance, the crop option

crops the in-memory image and then describes the result.

SEE ALSO

ImageMagick(1)

COPYRIGHT

Copyright (C) 1999-2016 ImageMagick Studio LLC.  Additional  copyrights

and  licenses  apply  to  this  software,  see  file:///usr/local/Cel-

lar/imagemagick/7.0.4-10/share/doc/ImageMagick-7/www/license.html    or

http://www.imagemagick.org/script/license.php

ImageMagick                Date: 2009/01/10 01:00:00              identify(1)

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 14,602评论 5 6
  • "你真棒!"——我们夸奖孩子时,总是习惯运用这些简单,笼统的句子。其实这是错误的夸奖。 首先,夸奖有助于帮助孩子...
    Alian__阅读 1,877评论 0 0
  • 作者/杨见 我父亲的训斥 给我那部分内容是铜 年少时那些训斥 是一块一块铜片 少顷后就卤化了 我在铜匠铺一样的家里...
    杨见阅读 2,750评论 1 0
  • 就在三天前,我打心底拉黑了一个认识了一年的朋友——打心底的意思就是,没有删掉,仅单向屏蔽了她的朋友圈。但是在...
    尹姐姐看影视阅读 3,502评论 0 2

友情链接更多精彩内容