简体   繁体   English

来自远程源的 Exiftool

[英]Exiftool from remote sources

I'm trying to get image metadata from the inte.net using exiftool and tried to follow along with the piping example provided in exiftools docs, which I've linked below.我正在尝试使用 exiftool 从 inte.net 获取图像元数据,并尝试按照我在下面链接的 exiftools 文档中提供的管道示例进行操作。 This does not work as expected and instead returns an error of no file specified.这不会按预期工作,而是返回未指定文件的错误。 I've tried putting the URL into quotes, changing around the command to use curl as an input into exiftool instead of piping, nothing seems to work.我尝试将 URL 放入引号中,将命令更改为使用 curl 作为 exiftool 的输入而不是管道,似乎没有任何效果。 Any help would be appreciated.任何帮助,将不胜感激。

https://exiftool.org/exiftool_pod.html#PIPING-EXAMPLES https://exiftool.org/exiftool_pod.html#PIPING-EXAMPLES

Works just fine for me.对我来说很好用。 Make sure to add the - to indicate reading from stdin.确保添加-以指示从标准输入读取。 Here is an example:这是一个例子:

> curl -s "https://www.gravatar.com/avatar/1f20f72dba83a169c623fbe652657a32?s=48&d=identicon&r=PG" | exiftool -
ExifTool Version Number         : 11.88
File Type                       : PNG
File Type Extension             : png
MIME Type                       : image/png
Image Width                     : 48
Image Height                    : 48
Bit Depth                       : 8
Color Type                      : RGB with Alpha
Compression                     : Deflate/Inflate
Filter                          : Adaptive
Interlace                       : Noninterlaced
Pixels Per Unit X               : 3780
Pixels Per Unit Y               : 3780
Pixel Units                     : meters
Image Size                      : 48x48
Megapixels                      : 0.002

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM