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)

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末葫掉,一起剝皮案震驚了整個(gè)濱河市湾盗,隨后出現(xiàn)的幾起案子鸡号,更是在濱河造成了極大的恐慌,老刑警劉巖,帶你破解...
    沈念sama閱讀 222,104評(píng)論 6 515
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件辆影,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡,警方通過(guò)查閱死者的電腦和手機(jī)祖很,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,816評(píng)論 3 399
  • 文/潘曉璐 我一進(jìn)店門(mén),熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)漾脂,“玉大人假颇,你說(shuō)我怎么就攤上這事》啵” “怎么了拆融?”我有些...
    開(kāi)封第一講書(shū)人閱讀 168,697評(píng)論 0 360
  • 文/不壞的土叔 我叫張陵,是天一觀的道長(zhǎng)啊终。 經(jīng)常有香客問(wèn)我镜豹,道長(zhǎng),這世上最難降的妖魔是什么蓝牲? 我笑而不...
    開(kāi)封第一講書(shū)人閱讀 59,836評(píng)論 1 298
  • 正文 為了忘掉前任趟脂,我火速辦了婚禮,結(jié)果婚禮上例衍,老公的妹妹穿的比我還像新娘昔期。我一直安慰自己已卸,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 68,851評(píng)論 6 397
  • 文/花漫 我一把揭開(kāi)白布硼一。 她就那樣靜靜地躺著累澡,像睡著了一般。 火紅的嫁衣襯著肌膚如雪般贼。 梳的紋絲不亂的頭發(fā)上愧哟,一...
    開(kāi)封第一講書(shū)人閱讀 52,441評(píng)論 1 310
  • 那天,我揣著相機(jī)與錄音哼蛆,去河邊找鬼蕊梧。 笑死,一個(gè)胖子當(dāng)著我的面吹牛腮介,可吹牛的內(nèi)容都是我干的肥矢。 我是一名探鬼主播,決...
    沈念sama閱讀 40,992評(píng)論 3 421
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼叠洗,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼甘改!你這毒婦竟也來(lái)了?” 一聲冷哼從身側(cè)響起惕味,我...
    開(kāi)封第一講書(shū)人閱讀 39,899評(píng)論 0 276
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤楼誓,失蹤者是張志新(化名)和其女友劉穎,沒(méi)想到半個(gè)月后名挥,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體疟羹,經(jīng)...
    沈念sama閱讀 46,457評(píng)論 1 318
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 38,529評(píng)論 3 341
  • 正文 我和宋清朗相戀三年禀倔,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了榄融。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 40,664評(píng)論 1 352
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡救湖,死狀恐怖愧杯,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情鞋既,我是刑警寧澤力九,帶...
    沈念sama閱讀 36,346評(píng)論 5 350
  • 正文 年R本政府宣布,位于F島的核電站邑闺,受9級(jí)特大地震影響跌前,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜陡舅,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 42,025評(píng)論 3 334
  • 文/蒙蒙 一抵乓、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧,春花似錦灾炭、人聲如沸茎芋。這莊子的主人今日做“春日...
    開(kāi)封第一講書(shū)人閱讀 32,511評(píng)論 0 24
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)田弥。三九已至,卻和暖如春掏缎,著一層夾襖步出監(jiān)牢的瞬間皱蹦,已是汗流浹背。 一陣腳步聲響...
    開(kāi)封第一講書(shū)人閱讀 33,611評(píng)論 1 272
  • 我被黑心中介騙來(lái)泰國(guó)打工眷蜈, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人沈自。 一個(gè)月前我還...
    沈念sama閱讀 49,081評(píng)論 3 377
  • 正文 我出身青樓酌儒,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親枯途。 傳聞我的和親對(duì)象是個(gè)殘疾皇子忌怎,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,675評(píng)論 2 359

推薦閱讀更多精彩內(nèi)容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的閱讀 13,493評(píng)論 5 6
  • "你真棒!"——我們夸獎(jiǎng)孩子時(shí)酪夷,總是習(xí)慣運(yùn)用這些簡(jiǎn)單榴啸,籠統(tǒng)的句子。其實(shí)這是錯(cuò)誤的夸獎(jiǎng)晚岭。 首先鸥印,夸獎(jiǎng)有助于幫助孩子...
    Alian__閱讀 251評(píng)論 0 0
  • 作者/楊見(jiàn) 我父親的訓(xùn)斥 給我那部分內(nèi)容是銅 年少時(shí)那些訓(xùn)斥 是一塊一塊銅片 少頃后就鹵化了 我在銅匠鋪一樣的家里...
    楊見(jiàn)閱讀 319評(píng)論 1 0
  • 就在三天前库说,我打心底拉黑了一個(gè)認(rèn)識(shí)了一年的朋友——打心底的意思就是,沒(méi)有刪掉片择,僅單向屏蔽了她的朋友圈潜的。但是在...
    尹姐姐看影視閱讀 501評(píng)論 0 2