sips

[sips]カラー判定


サンプルコード

サンプルソース(参考)
行番号ソース
001
002set strFilePath to ("/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/curtainlock.tif") as text
003
004
005set strCommandText to ("/usr/bin/sips -g bitsPerSample -g space \"" & strFilePath & "\" | awk '{print $2}'") as text
006log strCommandText
007try
008  set strResponse to (do shell script strCommandText) as text
009on error
010  return "エラーしました"
011end try
012
013
014set AppleScript's text item delimiters to "\r"
015set listResponst to every text item of strResponse
016set AppleScript's text item delimiters to ""
017
018
019repeat with itemRespons in listResponst
020  
021  if itemRespons contains "1" then
022    set strBPS to ("1BIT白黒です") as text
023  else if itemRespons contains "8" then
024    set strBPS to ("256階調") as text
025  else if itemRespons contains "16" then
026    set strBPS to ("65536階調") as text
027  else if itemRespons contains "32" then
028    set strBPS to ("HDR") as text
029  else if itemRespons contains "RGB" then
030    set strColor to ("RGB") as text
031  else if itemRespons contains "CMYK" then
032    set strColor to ("CMYK") as text
033  else if itemRespons contains "Gray" then
034    set strColor to ("Gray") as text
035  end if
036  
037end repeat
038log strColor
039log strBPS
AppleScriptで生成しました

SIPSキー一覧
Image property keys:
dpiHeight float
dpiWidth float
pixelHeight integer (read-only)
pixelWidth integer (read-only)
typeIdentifier string (read-only)
format string jpeg | tiff | png | gif | jp2 | pict | bmp | qtif | psd | sgi | tga
formatOptions string default | [low|normal|high|best|] | [lzw|packbits]
space string (read-only)
samplesPerPixel integer (read-only)
bitsPerSample integer (read-only)
creation string (read-only)
make string
model string
software string (read-only)
description string
copyright string
artist string
profilebinary data
hasAlpha boolean (read-only)

Profile property keys:
description utf8 string
size integer (read-only)
cmm string
version string
classstring (read-only)
spacestring (read-only)
pcs string (read-only)
creation string
platform string
quality string normal | draft | best
deviceManufacturer string
deviceModel integer
deviceAttributes0 integer
deviceAttributes1 integer
renderingIntentstring perceptual | relative | saturation | absolute
creator string
copyright string
md5 string (read-only)

|

[SIPS]見開き画像を左右別ページにCROPする

下記の図のように 見開きになっている画像データを左右別ファイルにします 20220713104036_1584x1528x1440
AppleScript サンプルコード

【スクリプトエディタで開く】 |

AppleScript サンプルソース(参考)
行番号ソース
001#!/usr/bin/env osascript
002----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
003#
004#
005#
006#
007# com.cocolog-nifty.quicktimer.icefloe
008----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
009##自分環境がos12なので2.8にしているだけです
010use AppleScript version "2.8"
011use framework "Foundation"
012use scripting additions
013
014property objMe : a reference to current application
015property objNSString : a reference to objMe's NSString
016property objNSURL : a reference to objMe's NSURL
017property objNSArray : a reference to objMe's NSArray
018set objFileManager to objMe's NSFileManager's defaultManager()
019
020###################
021###設定項目
022###中央部オフセット
023set numCenterOffset to 140 as integer
024###サイド部オフセット
025set numSideOffset to 400 as integer
026
027###################
028###フォルダ選択
029
030tell application "Finder"
031set aliasDefaultLocation to (path to desktop folder from user domain) as alias
032end tell
033try
034set aliasFolderResponse to (choose folder "画像が入っているフォルダを選んでください" with prompt "フォルダを選択してください" default location aliasDefaultLocation without multiple selections allowed, invisibles and showing package contents)
035on error
036log "エラーしました"
037return
038end try
039
040###フォルダのパス
041set strDirPath to POSIX path of aliasFolderResponse as text
042
043###NSStringテキスト
044set objDirPath to objNSString's stringWithString:strDirPath
045
046##########################################
047######ファイルを左右用に複製する
048##########################################
049###ディレクトリのコンテンツ一覧
050set arrayFilesList to objFileManager's contentsOfDirectoryAtPath:objDirPath |error| :(missing value)
051###並び替え
052set ocidDescriptor to objMe's NSSortDescriptor's sortDescriptorWithKey:"self" ascending:true selector:"compare:"
053set ocidSortedList to (arrayFilesList's sortedArrayUsingDescriptors:{ocidDescriptor}) as list
054####リストにしておく
055set lisFileNames to ocidSortedList as list
056
057set numCntNo to 1 as number
058
059repeat with objFileNames in lisFileNames
060set strFileNames to objFileNames as text
061if strFileNames is not ".DS_Store" then
062####ファイル番号
063if numCntNo < 100 then
064####右ページ用番号
065set strCntNo to numCntNo as text
066set strZeroAdd to ("000" & strCntNo) as text
067set strRightNo to text -3 through -1 of strZeroAdd as text
068set strRightFileName to (strRightNo & "_R_" & strFileNames) as text
069####左ページ用番号
070set numCntNo to numCntNo + 1 as number
071set strCntNo to numCntNo as text
072set strZeroAdd to ("000" & strCntNo) as text
073set strLeftNo to text -3 through -1 of strZeroAdd as text
074set strLeftFileName to (strLeftNo & "_L_" & strFileNames) as text
075set numCntNo to numCntNo + 1 as number
076else
077####右ページ用番号
078set strRightNo to numCntNo as text
079set strRightFileName to (strRightNo & "_R_" & strFileNames) as text
080####左ページ用番号
081set numCntNo to numCntNo + 1 as number
082set strLeftNo to numCntNo as text
083set strLeftFileName to (strLeftNo & "_L_" & strFileNames) as text
084set numCntNo to numCntNo + 1 as number
085end if
086
087tell application "Finder"
088set aliasFilePath to (file strFileNames of folder aliasFolderResponse) as alias
089end tell
090###元ファイルをNSURLに
091set strFilePath to POSIX path of aliasFilePath as text
092set ocidFilePath to (objNSURL's fileURLWithPath:strFilePath)
093
094###右ファイルをNSURLに
095set strRightFilePath to (strDirPath & strRightFileName) as text
096set ocidRightFilePath to (objNSURL's fileURLWithPath:strRightFilePath)
097###左ファイルをNSURLに
098set strLeftFilePath to (strDirPath & strLeftFileName) as text
099set ocidLeftFilePath to (objNSURL's fileURLWithPath:strLeftFilePath)
100###右ファイル
101set boolFileCopyDone to (objFileManager's copyItemAtPath:ocidFilePath toPath:ocidRightFilePath  |error| :(boolean))
102###左ファイル
103set boolFileCopyDone to (objFileManager's copyItemAtPath:ocidFilePath toPath:ocidLeftFilePath  |error| :(boolean))
104if boolFileCopyDone is true then
105log "右ファイルはコピーされました"
106if boolFileCopyDone is true then
107log "左ファイルはコピーされました"
108#####元ファイルをゴミ箱へ
109set boolGoToTrash to (objFileManager's trashItemAtURL:ocidFilePath resultingItemURL:(missing value) |error| :(""))
110if boolGoToTrash is true then
111log "オリジナルファイルはゴミ箱へ入れました"
112else
113log "ゴミ箱へ入れるのを失敗しました"
114end if
115else if boolFileCopyDone is false then
116log "左ファイルコピーは失敗しました"
117end if
118else if boolFileCopyDone is false then
119log "右ファイルコピーは失敗しました"
120end if
121end if
122end repeat
123
124
125
126##########################################
127###### CROPする
128##########################################
129###ディレクトリのコンテンツ一覧
130set arrayHarfFilesList to objFileManager's contentsOfDirectoryAtPath:objDirPath |error| :(missing value)
131###並び替え
132set ocidDescriptor to objMe's NSSortDescriptor's sortDescriptorWithKey:"self" ascending:true selector:"compare:"
133set ocidSortedHarfList to (arrayHarfFilesList's sortedArrayUsingDescriptors:{ocidDescriptor}) as list
134####リストにしておく
135set listSortedHarfList to ocidSortedHarfList as list
136
137###ファイルの数だけ繰り返す
138repeat with objSortedHarfList in listSortedHarfList
139set strFileName to objSortedHarfList as text
140log "ファイル名のログ" & strFileName
141if strFileName is not ".DS_Store" then
142tell application "Finder"
143set aliasFilePath to (file strFileName of folder aliasFolderResponse) as alias
144end tell
145###ユニックスパスにしておく
146set strFilePath to POSIX path of aliasFilePath as text
147##画像の幅と高さを求めておく
148set thePixelHeight to (do shell script "echo `sips --getProperty pixelHeight \"" & strFilePath & "\"` | cut -f 2 -d ':'| echo `cat`") as text
149set thePixelWidth to (do shell script "echo `sips --getProperty pixelWidth \"" & strFilePath & "\"` | cut -f 2 -d ':'| echo `cat`") as text
150###画像のセンターを求めておく
151set thePixelCenter to (thePixelWidth / 2) as integer
152set thePixelPageWidth to (thePixelWidth / 2) as integer
153#####右用
154if strFileName contains "_R_" then
155set thePixelPageWidth to thePixelPageWidth - (numCenterOffset + numSideOffset) as integer
156set thePixelCenter to thePixelCenter + numCenterOffset as integer
157
158set theCommandText to ("sips \"" & strFilePath & "\" --cropToHeightWidth " & thePixelHeight & " " & thePixelPageWidth & " --cropOffset 0 " & thePixelCenter & " ")
159do shell script theCommandText
160#####左用
161else if strFileName contains "_L_" then
162set thePixelPageWidth to thePixelPageWidth - (numCenterOffset + numSideOffset) as integer
163set theLeftOffset to numSideOffset as integer
164
165set theCommandText to ("sips \"" & strFilePath & "\" --cropToHeightWidth " & thePixelHeight & " " & thePixelPageWidth & " --cropOffset 0 " & theLeftOffset & " ")
166do shell script theCommandText
167end if
168end if
169end repeat
AppleScriptで生成しました

|

[sips]画像のリサンプル resampleHeightWidth resampleHeightWidthMax

例文
resampleHeightWidth
sips "/System/Library/Desktop Pictures/Monterey Graphic.heic" --resampleHeightWidth 720 1280 -o ~/Desktop/resampleHeightWidth.jpg

resampleHeightWidthMax
sips "/System/Library/Desktop Pictures/Monterey Graphic.heic" --resampleHeightWidthMax 480 -o ~/Desktop/resampleHeightWidthMax.jpg

ダウンロード - sips2resampleheightwidth.scpt.zip



#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7

use AppleScript version "2.8"
use scripting additions

set aliasLocationPath to (path to desktop pictures folder from system domain)
set aliasImageFilePath to (choose file of type {"public.image", "public.tiff", "public.png", "public.jpeg", "com.adobe.photoshop-image", "public.heic"} with prompt "ファイルを選んで" default location aliasLocationPath without invisibles, showing package contents and multiple selections allowed)

set theImageFilePath to POSIX path of aliasImageFilePath as text


set numWidth to 1280 as number
set numHeight to 720 as number
set numMax to 480 as number

########
set theCommandText to ("/usr/bin/sips --resampleHeightWidth " & numHeight & " " & numWidth & " \"" & theImageFilePath & "\" --setProperty format png -o ~/Desktop/resampleHeightWidth.png") as text
log "theCommandText:" & theCommandText
do shell script theCommandText

########
set theCommandText to ("/usr/bin/sips --resampleHeightWidthMax " & numMax & " --cropOffset 480 480 \"" & theImageFilePath & "\" --setProperty format png -o ~/Desktop/resampleHeightWidthMax.png") as text
log "theCommandText:" & theCommandText
do shell script theCommandText

return

|

[sips]画像のCROP

cropToHeightWidth
/usr/bin/sips "/System/Library/Desktop Pictures/Monterey Graphic.heic" --cropToHeightWidth 720 1280 -o ~/Desktop/cropToHeightWidth.jpg

cropOffset
/usr/bin/sips "/System/Library/Desktop Pictures/Monterey Graphic.heic" --cropToHeightWidth 720 1280 --cropOffset 480 480 -o ~/Desktop/cropOffset.jpg


ダウンロード - sips2croptoheightwidth.scpt.zip



#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7

use AppleScript version "2.8"
use scripting additions

set aliasLocationPath to (path to desktop pictures folder from system domain)
set aliasImageFilePath to (choose file of type {"public.image", "public.tiff", "public.png", "public.jpeg", "com.adobe.photoshop-image", "public.heic"} with prompt "ファイルを選んで" default location aliasLocationPath without invisibles, showing package contents and multiple selections allowed)

set theImageFilePath to POSIX path of aliasImageFilePath as text


set numWidth to 1280 as number
set numHeight to 720 as number

########
set theCommandText to ("/usr/bin/sips --cropToHeightWidth " & numHeight & " " & numWidth & " \"" & theImageFilePath & "\" --setProperty format png -o ~/Desktop/cropToHeightWidth.png") as text
log "theCommandText:" & theCommandText
do shell script theCommandText

########
set theCommandText to ("/usr/bin/sips --cropToHeightWidth " & numHeight & " " & numWidth & " --cropOffset 480 480 \"" & theImageFilePath & "\" --setProperty format png -o ~/Desktop/cropOffset.png") as text
log "theCommandText:" & theCommandText
do shell script theCommandText

return

|

[sips]画像の操作 rotate flip horizontal flip vertical

例文
rotate
/usr/bin/sips "/System/Library/Desktop Pictures/Monterey Graphic.heic" --rotate 45 --setProperty format png -o ~/Desktop/rotate.png

flip horizontal
/usr/bin/sips "/System/Library/Desktop Pictures/Monterey Graphic.heic" --flip horizontal --setProperty format png -o ~/Desktop/horizontal.png

flip vertical
/usr/bin/sips "/System/Library/Desktop Pictures/Monterey Graphic.heic" --flip vertical --setProperty format png -o ~/Desktop/vertical.png



#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7

use AppleScript version "2.8"
use scripting additions

set aliasLocationPath to (path to desktop pictures folder from system domain)
set aliasImageFilePath to (choose file of type {"public.image", "public.tiff", "public.png", "public.jpeg", "com.adobe.photoshop-image", "public.heic"} with prompt "ファイルを選んで" default location aliasLocationPath without invisibles, showing package contents and multiple selections allowed)

set theImageFilePath to POSIX path of aliasImageFilePath as text


set numWidthPx to 1280 as number
set numHeightPx to 720 as number

####
set theCommandText to ("/usr/bin/sips \"" & theImageFilePath & "\" --rotate 45 --setProperty format png -o ~/Desktop/rotate.png") as text
log "theCommandText:" & theCommandText
do shell script theCommandText

set theCommandText to ("/usr/bin/sips \"" & theImageFilePath & "\" --flip horizontal --setProperty format png -o ~/Desktop/horizontal.png") as text
log "theCommandText:" & theCommandText
do shell script theCommandText

set theCommandText to ("/usr/bin/sips \"" & theImageFilePath & "\" --flip vertical --setProperty format png -o ~/Desktop/vertical.png") as text
log "theCommandText:" & theCommandText
do shell script theCommandText


return

|

[sips]画像のパディング padToHeightWidth padColor

/usr/bin/sips --padToHeightWidth 720 1280 --padColor FFF000 --setProperty format png "/Library/User Pictures/Sports/Target.png" -o ~/Desktop/padToHeightWidth.png


ダウンロード - sips2padtoheightwidth.scpt.zip

#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7

use AppleScript version "2.8"
use scripting additions

set aliasLocationPath to (path to desktop pictures folder from system domain)
set aliasImageFilePath to (choose file of type {"public.image", "public.tiff", "public.png", "public.jpeg", "com.adobe.photoshop-image", "public.heic"} with prompt "ファイルを選んで" default location aliasLocationPath without invisibles, showing package contents and multiple selections allowed)

set theImageFilePath to POSIX path of aliasImageFilePath as text


set numWidthPx to 1280 as number
set numHeightPx to 720 as number

####
set theCommandText to ("/usr/bin/sips --padToHeightWidth " & numHeightPx & " " & numWidthPx & " --padColor FFF000 \"" & theImageFilePath & "\" --setProperty format png -o ~/Desktop/padToHeightWidth.png") as text
log "theCommandText:" & theCommandText
do shell script theCommandText



return

|

[sips]画像の解像度 dpiWidth dpiHeight

例文
/usr/bin/sips --setProperty dpiHeight 72 "/System/Library/Desktop Pictures/Monterey Graphic.heic" --setProperty format png -o ~/Desktop/dpiHeight.jpg


/usr/bin/sips --setProperty dpiWidth 72 "/System/Library/Desktop Pictures/Monterey Graphic.heic" --setProperty format png -o ~/Desktop/dpiWidth.jpg

ダウンロード - sips2dpiwidth.scpt.zip




#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7

use AppleScript version "2.8"
use scripting additions

set aliasLocationPath to (path to desktop pictures folder from system domain)
set aliasImageFilePath to (choose file of type {"public.image", "public.tiff", "public.png", "public.jpeg", "com.adobe.photoshop-image", "public.heic"} with prompt "ファイルを選んで" default location aliasLocationPath without invisibles, showing package contents and multiple selections allowed)

set theImageFilePath to POSIX path of aliasImageFilePath as text


set numDip to 72 as number


####通常2行での応答時
set theCommandText to ("/usr/bin/sips --setProperty dpiHeight " & numDip & " \"" & theImageFilePath & "\" --setProperty format png -o ~/Desktop/dpiHeight.png") as text
log "theCommandText:" & theCommandText
do shell script theCommandText

####
set theCommandText to ("/usr/bin/sips --setProperty dpiWidth " & numDip & " \"" & theImageFilePath & "\" --setProperty format png -o ~/Desktop/dpiWidth.png") as text
log "theCommandText:" & theCommandText
do shell script theCommandText



return

|

[sips]画像の縦横サイズ pixelWidth pixelHeight

画像ファイルの縦横サイズを取得します

ダウンロード - sips2pixsize.scpt.zip

#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7

use AppleScript version "2.8"
use scripting additions

set aliasLocationPath to (path to desktop folder from user domain)
set aliasImageFilePath to (choose file of type {"public.image", "public.tiff", "public.png", "public.jpeg", "com.adobe.photoshop-image", "public.heic"} with prompt "ファイルを選んで" default location aliasLocationPath without invisibles, showing package contents and multiple selections allowed)

set theImageFilePath to POSIX path of aliasImageFilePath as text


####通常2行での応答時
set thePixelWidth to (do shell script "echo `sips --getProperty pixelWidth \"" & theImageFilePath & "\"` | cut -f 2 -d ':'| echo `cat`")
log "thePixelWidth:" & thePixelWidth
set thePixelHeight to (do shell script "echo `sips --getProperty pixelHeight \"" & theImageFilePath & "\"` | cut -f 2 -d ':'| echo `cat`")

log "thePixelWidth:" & thePixelHeight



####1Line応答時
set thePixelWidth to (do shell script "echo `sips --getProperty pixelWidth -1 \"" & theImageFilePath & "\"` | cut -f 2 -d ':'| cut -f 1 -d '|'| echo `cat`")
log "thePixelWidth:" & thePixelWidth

set thePixelHeight to (do shell script "echo `sips --getProperty pixelHeight -1 \"" & theImageFilePath & "\"` | cut -f 2 -d ':'| cut -f 1 -d '|'| echo `cat`")
log "thePixelWidth:" & thePixelHeight

return "thePixelWidth:" & thePixelHeight & "\n" & "thePixelWidth:" & thePixelHeight

sh-3.2$ sips -g all /Users/Shared/net-028.jpg

/Users/Shared/net-028.jpg

  pixelWidth: 1920

  pixelHeight: 1080

  typeIdentifier: public.jpeg

  format: jpeg

  formatOptions: default

  dpiWidth: 96.000

  dpiHeight: 96.000

  samplesPerPixel: 3

  bitsPerSample: 8

  hasAlpha: no

  space: RGB

  profile: sRGB IEC61966-2.1



sh-3.2$ sips --getProperty pixelHeight /Users/Shared/ImageFile.jpg

/Users/Shared/ImageFile.jpg

  pixelHeight: 1080

sh-3.2$ 

sh-3.2$ 

sh-3.2$ 

sh-3.2$ 

sh-3.2$ sips --getProperty pixelWidth /Users/Shared/ImageFile.jpg

/Users/Shared/ImageFile.jpg

  pixelWidth: 1920

sh-3.2$ 


|

[sips]カラーモード

samplesPerPixelの1or3で分岐すればいいでしょう
→16BITのカラーに変換しちゃえばいいかな…全部



白黒 (2色)
samplesPerPixel: 1
bitsPerSample: 1

8bitグレースケール(256階調)
samplesPerPixel: 1
bitsPerSample: 8

16bitグレースケール (65,535階調)
samplesPerPixel: 1
bitsPerSample: 16

32bitグレースケール
samplesPerPixel: 1
bitsPerSample: 32

4bitカラー(16色)
samplesPerPixel: 3
bitsPerSample: 4

8bit カラー(256色)
samplesPerPixel: 3
bitsPerSample: 8

16bit RGBカラー(65,536色)
samplesPerPixel: 3
bitsPerSample: 16

24bit RGBカラー (1678万色)
samplesPerPixel: 3
bitsPerSample: 24=8,8,8

32bit RGBカラー(1678万色)
samplesPerPixel: 3
bitsPerSample: 32=8,8,8,x



sh-3.2$ sips -h

sips - scriptable image processing system.

This tool is used to query or modify raster image files and ColorSync ICC profiles.

Its functionality can also be used through the "Image Events" AppleScript suite.


  Usages:

    sips [image-functions] imagefile ... 

    sips [profile-functions] profile ... 


  Profile query functions: 

    -g, --getProperty key 

    -X, --extractTag tag tagFile 

        --verify 

    -1, --oneLine 


  Image query functions: 

    -g, --getProperty key 

    -x, --extractProfile profile 

    -1, --oneLine 


  Profile modification functions: 

    -s, --setProperty key value 

    -d, --deleteProperty key 

        --deleteTag tag 

        --copyTag srcTag dstTag 

        --loadTag tag tagFile 

        --repair 

    -o, --out file-or-directory 


  Image modification functions: 

    -s, --setProperty key value 

    -d, --deleteProperty key 

    -e, --embedProfile profile 

    -E, --embedProfileIfNone profile 

    -m, --matchTo profile 

    -M, --matchToWithIntent profile intent 

        --deleteColorManagementProperties 

    -r, --rotate degreesCW 

    -f, --flip horizontal|vertical 

    -c, --cropToHeightWidth pixelsH pixelsW 

        --cropOffset offsetY offsetH 

    -p, --padToHeightWidth pixelsH pixelsW 

        --padColor hexcolor 

    -z, --resampleHeightWidth pixelsH pixelsW 

        --resampleWidth pixelsW 

        --resampleHeight pixelsH 

    -Z, --resampleHeightWidthMax pixelsWH 

    -i, --addIcon 

        --optimizeColorForSharing 

    -o, --out file-or-directory 

    -j, --js file 


  Other functions: 

        --debug           Enable debugging output

    -h, --help            Show help

    -H, --helpProperties  Show help for properties

        --man             Generate man pages

    -v, --version         Show the version

        --formats         Show the read/write formats

sh-3.2$ 

|

その他のカテゴリー

Accessibility Acrobat Acrobat 2020 Acrobat AddOn Acrobat Annotation Acrobat ARMDC Acrobat AV2 Acrobat BookMark Acrobat Classic Acrobat DC Acrobat Dialog Acrobat Distiller Acrobat Form Acrobat JS Acrobat Manifest Acrobat Menu Acrobat Open Acrobat Plugin Acrobat Preferences Acrobat Preflight Acrobat python Acrobat Reader Acrobat SCA Acrobat SCA Updater Acrobat Sequ Acrobat Sign Acrobat Stamps Acrobat Watermark Acrobat Windows Acrobat Windows Reader Admin Admin Account Admin Apachectl Admin configCode Admin Device Management Admin LaunchServices Admin Locationd Admin loginitem Admin Maintenance Admin Mobileconfig Admin Permission Admin Pkg Admin Power Management Admin Printer Admin SetUp Admin SMB Admin Support Admin System Information Admin Tools Admin Users Admin Volumes Adobe Adobe FDKO Adobe RemoteUpdateManager AppKit Apple AppleScript AppleScript do shell script AppleScript List AppleScript ObjC AppleScript Osax AppleScript PDF AppleScript Pictures AppleScript record AppleScript Script Editor AppleScript Script Menu AppleScript Shortcuts AppleScript Shortcuts Events AppleScript System Events AppleScript System Events Plist AppleScript Video Applications AppStore Archive Attributes Automator BackUp Barcode Barcode QR Barcode QR Decode Bash Basic Basic Path Bluetooth BOX Browser Calendar CD/DVD Choose Chrome CIImage CityCode CloudStorage Color com.apple.LaunchServices.OpenWith Console Contacts CotEditor CURL current application Date&Time delimiters Desktop Device Diff Disk Dock DropBox Droplet eMail Encode % Encode Decode Encode UTF8 Error EXIFData ffmpeg File Finder Firefox Folder FolderAction Fonts GIF github Guide HTML HTML Entity Icon Illustrator Image Events Image2PDF ImageOptim iPhone iWork Javascript Jedit Json Label Leading Zero List locationd LRC lsappinfo LSSharedFileList m3u8 Mail MakePDF Map Math Media Media AVAsset Media AVconvert Media AVFoundation Media AVURLAsset Media Movie Media Music Memo Messages Microsoft Microsoft Edge Microsoft Excel Mouse Music NetWork Notes NSArray NSArray Sort NSBezierPath NSBitmapImageRep NSBundle NSCFBoolean NSCharacterSet NSColor NSColorList NSData NSDecimalNumber NSDictionary NSError NSEvent NSFileAttributes NSFileManager NSFileManager enumeratorAtURL NSFont NSFontManager NSGraphicsContext NSImage NSIndex NSKeyedArchiver NSKeyedUnarchiver NSLocale NSMutableArray NSMutableDictionary NSMutableString NSNotFound NSNumber NSOpenPanel NSPasteboard NSpoint NSPredicate NSPrintOperation NSRange NSRect NSRegularExpression NSRunningApplication NSScreen NSSize NSString NSString stringByApplyingTransform NSStringCompareOptions NSTask NSTimeZone NSURL NSURL File NSURLBookmark NSURLComponents NSURLResourceKey NSURLSession NSUserDefaults NSUUID NSView NSWorkspace Numbers OAuth OneDrive PDF PDFAnnotation PDFAnnotationWidget PDFContext PDFDisplayBox PDFDocumentPermissions PDFImageRep PDFKit PDFnUP PDFOutline perl Photoshop PlistBuddy pluginkit postalcode PostScript prefPane Preview Python QuickLook QuickTime ReadMe Regular Expression Reminders ReName Repeat RTF Safari SaveFile ScreenCapture ScreenSaver SF Symbols character id SF Symbols Entity sips Skype Slack Sound Spotlight sqlite SRT StandardAdditions Swift System Settings TCC TemporaryItems Terminal Text Text CSV Text MD Text TSV TextEdit Tools Translate Trash Twitter Typography UI Unit Conversion UTType valueForKeyPath Video VisionKit Visual Studio Code VMware Fusion Wacom webarchive webp Wifi Windows XML XML EPUB XML OPML XML Plist XML RSS XML savedSearch XML SVG XML TTML XML webloc XML XMP YouTube zoom