0
A
回答
2
我喜歡用ExifTool by Phil Harvey來提取元數據。這是一個service I wrote快速訪問元數據。
on run {input, parameters}
-- creates a metadata folder in the Documents folder to store results
set thePath to POSIX path of (path to documents folder) & "metadata" & "/"
do shell script "mkdir -p " & quoted form of POSIX path of thePath
set {inputFiles, outputFiles} to {{}, {}}
repeat with anItem in input
set end of inputFiles to quoted form of POSIX path of (anItem as text)
tell application "Finder" to set {name:fileName, name extension:nameExtension} to anItem
set baseName to text 1 thru ((get offset of "." & nameExtension in fileName) - 1) of fileName
set end of outputFiles to quoted form of (thePath & baseName & ".txt")
end repeat
set {TID, text item delimiters} to {text item delimiters, space}
set {inputFiles, outputFiles} to {(inputFiles as text), (outputFiles as text)}
set text item delimiters to TID
do shell script "exiftool -a " & inputFiles & " -w " & quoted form of (thePath & "%f.txt" as text) & "; open " & outputFiles
end run
相關問題
- 1. 使用PHP獲取圖像的顏色
- 2. 如何使用imagemagick將sRGB顏色配置文件分配給圖像
- 3. 如何在轉換圖像時保留顏色配置文件
- 4. 如何快速獲取磁盤上映像的顏色配置文件數據
- 5. 如何設置純色圖像以匹配文本顏色?
- 6. 將內置顏色配置文件應用於圖像
- 7. 將ICC顏色配置文件分配給C#中的圖像
- 8. 插圖/ Photoshop的顏色配置文件
- 9. 如何獲取圖像中像素的顏色(加載灰色)?
- 10. 如何使用exiftool設置顏色配置文件?
- 11. 使用Android中的按鈕獲取圖像的像素顏色?
- 12. 從圖像中獲取像素顏色
- 13. WriteableImage - 如何獲取像素的顏色?
- 14. iPhone:如何獲取圖像的每個像素的顏色?
- 15. Internet Explorer使用圖像在圓角上的顏色配置文件問題
- 16. 如何使用WinRT中的WriteableBitmapEx從圖像中的點獲取像素顏色?
- 17. 如何從圖像中獲取像素的顏色?
- 18. 獲取圖像中的所有顏色
- 19. 在javascript中獲取顏色顯示配置文件
- 20. Image Magick問題獲取顏色配置文件
- 21. 如何使用AppleScript獲取推文
- 22. 使用Magick獲取像素顏色++
- 23. 如何獲取圖像輪廓(或從圖像中獲取特定顏色?)-ANDroid
- 24. 如何檢查EPS文件的顏色配置文件?
- 25. 如何使用C#或編碼UI獲取圖像控件顏色?
- 26. 如何從像素獲取顏色? OpenGL
- 27. 在Swift 3中使用CGPoint從圖像獲取像素顏色
- 28. 設置圖像顏色以匹配背景顏色php
- 29. 使用RMagick的顏色配置文件和ColorSpace不匹配
- 30. 獲取圖像前10種顏色
甚至可能有機會想出一個體面的答案,您需要編輯您的問題,以添加更多的細節。 Applescript依賴於您所調用的任何應用程序提供的腳本字典。什麼應用程序打開了此圖像?你會打開另一種方式來獲取圖像的顏色配置文件比使用AppleScript嗎?這是針對你正在從事的應用程序嗎? –