使用exiftool提取简单的元数据
pyexifinfo的Python项目详细描述
Pyexifinfo pyexiftfo
exiftool is the corner stone library to look for when you need to extract exif or other typer of metadata types of metadata whichin a picture whichin a picture picture pacture which a pichin picture picture picture is been phython wrapper for phil for phil harvey harvey exiftool
exiftool is the corne输出或元数据照片
>
br/>--------------------------------------------------------------------------------------------------------------------------------------代码:sh
>pip install pyexifinfo
>use
-------------
代码:Python
import pyexifinfo a s p
>>>>>>>>>>>>>>>>>>>>>p.get import pyexifinfo as p
>>>>>>>>>>>>>>>p.get U json representation of this file<>>>>>>>>>>>>-=YTET-伊甸园字幕组=-翻译:U PNG:'coloretype':U RGB with alpha',U File':U IMETYPE':U IMETYPE':U IMETYPE':U IMETIOM/FileType:'U'PNG',U'FileName:'U'Python-Logo.PNG',U'PNG:压缩:U''U PNG:'P像素Perunity':2835,U PNG:'P像素Perunity':2835,U PNG:':Imageheight':82,U PNG:'Imageheight':82,U',U PNG:'像素':U'Meters',U File:'Directory:':U//Home/Laptop',U File':FileinoDechangDate:'U 2015':U 2015':07',U PNG:'Imageheig中,U ` PNG':Bitdepth':8,U ` Composition:Imagesize':U ` 290x82',U exiftool:exiftoolversion':9.46}代码:python
from pyexifinfo get=U CSV,get=U XML,filetype,filetype,mimetype,imagesize,imagewidth,imageheight
filename===''''='''=python-logo.png><
result=get=U CSV(>>>>result=Filename
result=mimetype(
)
exiftool is the corner stone library to look for when you need to extract exif or other typer of metadata types of metadata whichin a picture whichin a picture picture pacture which a pichin picture picture picture is been phython wrapper for phil for phil harvey harvey exiftool
exiftool is the corne输出或元数据照片
>
br/>--------------------------------------------------------------------------------------------------------------------------------------代码:sh
>pip install pyexifinfo
>use
-------------
代码:Python
import pyexifinfo a s p
>>>>>>>>>>>>>>>>>>>>>p.get import pyexifinfo as p
>>>>>>>>>>>>>>>p.get U json representation of this file<>>>>>>>>>>>>-=YTET-伊甸园字幕组=-翻译:U PNG:'coloretype':U RGB with alpha',U File':U IMETYPE':U IMETYPE':U IMETYPE':U IMETIOM/FileType:'U'PNG',U'FileName:'U'Python-Logo.PNG',U'PNG:压缩:U''U PNG:'P像素Perunity':2835,U PNG:'P像素Perunity':2835,U PNG:':Imageheight':82,U PNG:'Imageheight':82,U',U PNG:'像素':U'Meters',U File:'Directory:':U//Home/Laptop',U File':FileinoDechangDate:'U 2015':U 2015':07',U PNG:'Imageheig中,U ` PNG':Bitdepth':8,U ` Composition:Imagesize':U ` 290x82',U exiftool:exiftoolversion':9.46}代码:python
from pyexifinfo get=U CSV,get=U XML,filetype,filetype,mimetype,imagesize,imagewidth,imageheight
filename===''''='''=python-logo.png><
result=get=U CSV(
result=mimetype(
)