mirror of
https://github.com/hanzoai/goexif.git
synced 2026-09-30 22:36:24 +00:00
Add Windows-specific EXIF tags (#71)
* Add XPComment field * Add missing XP Windows fields
This commit is contained in:
committed by
Robert Carlsen
parent
6256fe8492
commit
6e50f8b30b
@@ -91,6 +91,15 @@ const (
|
||||
LensModel FieldName = "LensModel"
|
||||
)
|
||||
|
||||
// Windows-specific tags
|
||||
const (
|
||||
XPTitle FieldName = "XPTitle"
|
||||
XPComment FieldName = "XPComment"
|
||||
XPAuthor FieldName = "XPAuthor"
|
||||
XPKeywords FieldName = "XPKeywords"
|
||||
XPSubject FieldName = "XPSubject"
|
||||
)
|
||||
|
||||
// thumbnail fields
|
||||
const (
|
||||
ThumbJPEGInterchangeFormat FieldName = "ThumbJPEGInterchangeFormat" // offset to thumb jpeg SOI
|
||||
@@ -166,6 +175,13 @@ var exifFields = map[uint16]FieldName{
|
||||
0x013B: Artist,
|
||||
0x8298: Copyright,
|
||||
|
||||
// Windows-specific tags
|
||||
0x9c9b: XPTitle,
|
||||
0x9c9c: XPComment,
|
||||
0x9c9d: XPAuthor,
|
||||
0x9c9e: XPKeywords,
|
||||
0x9c9f: XPSubject,
|
||||
|
||||
// private tags
|
||||
exifPointer: ExifIFDPointer,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user