Skip to content

Latest commit

 

History

History
executable file
·
200 lines (184 loc) · 3.56 KB

metainformation.md

File metadata and controls

executable file
·
200 lines (184 loc) · 3.56 KB

Metadata

Before files are processed, doctape collects metadata depending on the file type, which you can access via the API. Each file object contains a meta object with one ore more of the following fields:

Document

Name Description
title document title
author document author
doctag see doctag.org

back to top


Image

Name Description
width image width in px
height image height in px
orientation orientation of image
iso iso value
flash image taken with or without flash?
vendor camera vendor
model camera model
gps_latitude GPS latitude
gps_latitude_reference GPS latitude reference (N or S)
gps_longitude GPS longitude
gps_longitude_reference GPS longitude reference (E or W)
gps_altitude GPS altitude

back to top


Audio

Name Description
title track title
album track album
artist track artist
year track year
genre track genre
duration audio duration

back to top


Video

Name Description
width video width in px
height video height in px
title title of video
author video author
rotation video rotation
duration video duration

back to top


Archive

Name Description
encrypted whether an archive is encrypted or not
bytesComp size of compressed archive in bytes
bytesUncomp size of uncompressed archive files in bytes
numFiles number of files in archive

back to top