-
Notifications
You must be signed in to change notification settings - Fork 0
IMetaData
Steve edited this page Apr 29, 2020
·
1 revision
This interface is requried to set, get or delete metadata of files or folders.
Meta data contains the following groups:
- general
- iptc
- exif
- xmp
- fsi
Each group contains key-value pairs. The "xmp" and the deprecated "fsi" group may contain any key-value pair.
export interface IMetaData {
"general"?: {
width: number,
height: number,
size: string,
source: string
alpha: boolean,
alphachannels: [string],
icc?: string, // name of the ICC profile if any
importstatus?: ImportStatus,
importtimestamp?: number, // unix time stamp
levels?: string,
lastmodified?: string,
},
"iptc"?: {
"By-line Title"?: string,
"By-line"?: string,
"Caption"?: string,
"Category"?: string,
"City"?: string,
"Copyright Notice"?: string,
"Country Code"?: string,
"Country/Primary Location"?: string,
"Credit"?: string,
"Date Created"?: string,
"Directory Version"?: string,
"FSI Encoding"?: string,
"FSI Extra"?: string,
"FSI SceneSets"?: string,
"FSI Search Data"?: string,
"FSI Tiles X"?: string,
"FSI Tiles Y"?: string,
"Headline"?: string,
"Keywords"?: string,
"Object Name"?: string,
"Original Transmission Reference"?: string,
"Originating Program"?: string,
"Province/State"?: string,
"Release Date"?: string,
"Release Time"?: string,
"Source"?: string,
"Special Instructions"?: string,
"Supplemental Category(s)"?: string,
"Time Created"?: string,
"Urgency"?: string,
"Writer"?: string
},
"exif"?: {
"Aperture"?: string,
"Bits per Sample"?: string,
"Brightness"?: string,
"CFA pattern"?: string,
"Color components"?: string,
"Color space information"?: string,
"Compressed Bits per Pixel"?: string,
"Compression"?: string,
"Contrast"?: string,
"Copyright holder"?: string,
"Custom image processing"?: string,
"Date and time of digital data generation"?: string,
"Date and time of original data generation"?: string,
"Device setting description"?: string,
"Digital zoom ratio"?: string,
"Exif IFD Pointer"?: string,
"Exif Image Height"?: string,
"Exif Image Width"?: string,
"Exif version"?: string,
"Exposure bias"?: string,
"Exposure index"?: string,
"Exposure mode"?: string,
"Exposure program"?: string,
"Exposure time"?: string,
"F number"?: string,
"File change date and time"?: string,
"File source"?: string,
"Flash energy"?: string,
"Flash"?: string,
"Flashpix Version"?: string,
"Focal length in 35 mm film"?: string,
"Focal length in mm"?: string,
"Gain control"?: string,
"GPS Altitude Reference"?: string,
"GPS Altitude"?: string,
"GPS Date Stamp"?: string,
"GPS Differential"?: string,
"GPS Dilution of Precision"?: string,
"GPS Image Direction Reference"?: string,
"GPS Image Direction"?: string,
"GPS Latitude Reference"?: string,
"GPS Latitude"?: string,
"GPS Longitude Reference"?: string,
"GPS Longitude"?: string,
"GPS Map Datum"?: string,
"GPS Measure Mode"?: string,
"GPS Satellites"?: string,
"GPS Speed Reference"?: string,
"GPS Speed"?: string,
"GPS Status"?: string,
"GPS Time Stamp"?: string,
"GPS Track Reference"?: string,
"GPS Track"?: string,
"GPSInfo IFD Pointer"?: string,
"Image Height"?: string,
"Image title"?: string,
"Image Width"?: string,
"Interop IFD Pointer"?: string,
"Interoperability Index"?: string,
"Interoperability Version"?: string,
"ISO speed rating"?: string,
"Light source"?: string,
"Manufacturer notes"?: string,
"Manufacturer of image input equipment"?: string,
"MarkerNote IFD Pointer"?: string,
"Maximum lens aperture"?: string,
"Metering mode"?: string,
"Model of image input equipment"?: string,
"Optoelectric conversion factor"?: string,
"Person who created the image"?: string,
"Photometric Interpretation"?: string,
"Pixels (height) per focal unit"?: string,
"Pixels (width) per focal unit"?: string,
"Planar Configuration"?: string,
"Primary Chromaticities"?: string,
"PrintIM"?: string,
"Processing Software"?: string,
"Rating Percent"?: string,
"Rating"?: string,
"Reference Black White"?: string,
"Related Image File Format"?: string,
"Related Image Length"?: string,
"Related Image Width"?: string,
"Related Sound File"?: string,
"Resolution Unit"?: string,
"Samples per Pixel"?: string,
"Saturation"?: string,
"Scene capture type"?: string,
"Scene type"?: string,
"Sensing method"?: string,
"Sharpness"?: string,
"Shutter speed"?: string,
"Software used"?: string,
"Spatial frequency response"?: string,
"Spectral sensitivity"?: string,
"Sub Sec Time Digitized"?: string,
"Sub Sec Time Original"?: string,
"Sub Sec Time"?: string,
"Subject distance range"?: string,
"Subject distance"?: string,
"Subject location"?: string,
"The orientation of the image"?: string,
"Unique image ID"?: string,
"Unit for focal plane resolution"?: string,
"User comments"?: string,
"White balance"?: string,
"White Point"?: string,
"X Resolution"?: string,
"Y Cb Cr Coefficients"?: string,
"Y Cb Cr Positioning"?: string,
"Y Resolution"?: string
},
fsi?: IStringStringMap,
xmp?: IStringStringMap
}
Documentation
-
Interfaces