Documentation ¶
Index ¶
Constants ¶
const ( IfdCanonMakernote = "Makernotes.Canon" FqIfdCanonMakernote = "IFD/Exif/Makernotes.Canon" )
Makernote Name
const ( CanonCameraSettings exif.TagID = 0x0001 CanonFocalLength exif.TagID = 0x0002 CanonFlashInfo exif.TagID = 0x0003 CanonShotInfo exif.TagID = 0x0004 CanonPanorama exif.TagID = 0x0005 CanonImageType exif.TagID = 0x0006 CanonFirmwareVersion exif.TagID = 0x0007 FileNumber exif.TagID = 0x0008 OwnerName exif.TagID = 0x0009 UnknownD30 exif.TagID = 0x000a SerialNumber exif.TagID = 0x000c CanonCameraInfo exif.TagID = 0x000d // WIP CanonFileLength exif.TagID = 0x000e // WIP CustomFunctions exif.TagID = 0x000f // WIP CanonModelID exif.TagID = 0x0010 MovieInfo exif.TagID = 0x0011 // WIP CanonAFInfo exif.TagID = 0x0012 ThumbnailImageValidArea exif.TagID = 0x0013 // WIP SerialNumberFormat exif.TagID = 0x0015 // WIP SuperMacro exif.TagID = 0x001a // WIP DateStampMode exif.TagID = 0x001c // WIP MyColors exif.TagID = 0x001d // WIP FirmwareRevision exif.TagID = 0x001e // WIP Categories exif.TagID = 0x0023 // WIP FaceDetect1 exif.TagID = 0x0024 // WIP FaceDetect2 exif.TagID = 0x0025 // WIP CanonAFInfo2 exif.TagID = 0x0026 ContrastInfo exif.TagID = 0x0027 // WIP ImageUniqueID exif.TagID = 0x0028 // WIP WBInfo exif.TagID = 0x0029 // WIP FaceDetect3 exif.TagID = 0x002f // WIP TimeInfo exif.TagID = 0x0035 BatteryType exif.TagID = 0x0038 // WIP AFInfo3 exif.TagID = 0x003c // WIP RawDataOffset exif.TagID = 0x0081 // WIP OriginalDecisionDataOffset exif.TagID = 0x0083 // WIP CustomFunctions1D exif.TagID = 0x0090 // WIP PersonalFunctions exif.TagID = 0x0091 // WIP PersonalFunctionValues exif.TagID = 0x0092 // WIP CanonFileInfo exif.TagID = 0x0093 AFPointsInFocus1D exif.TagID = 0x0094 // WIP LensModel exif.TagID = 0x0095 )
CanonMKnoteIFD TagIDs Source: https://exiftool.org/TagNames/Canon.html on 8/05/2020
const ( IfdMakernote = "Makernotes" IfdMakernoteID exif.TagID = 0x927c )
Makernote Name and TagID
Variables ¶
var CanonIfdTags = map[exif.TagID]exif.Tag{ CanonCameraSettings: exif.NewTag("CanonCameraSettings", exif.TypeShort), CanonFocalLength: exif.NewTag("CanonFocalLength", exif.TypeShort), CanonFlashInfo: exif.NewTag("CanonFlashInfo", exif.TypeShort), CanonShotInfo: exif.NewTag("CanonShotInfo", exif.TypeShort), CanonPanorama: exif.NewTag("CanonPanorama", exif.TypeShort), CanonImageType: exif.NewTag("CanonImageType", exif.TypeASCII), FileNumber: exif.NewTag("FileNumber", exif.TypeLong), OwnerName: exif.NewTag("OwnerName", exif.TypeASCII), SerialNumber: exif.NewTag("SerialNumber", exif.TypeLong), CanonModelID: exif.NewTag("CanonModelID", exif.TypeLong), CanonAFInfo: exif.NewTag("CanonAFInfo", exif.TypeShort), ThumbnailImageValidArea: exif.NewTag("ThumbnailImageValidArea", exif.TypeShort), CanonAFInfo2: exif.NewTag("CanonAFInfo2", exif.TypeShort), TimeInfo: exif.NewTag("TimeInfo", exif.TypeLong), CanonFileInfo: exif.NewTag("CanonFileInfo", exif.TypeShort), LensModel: exif.NewTag("LensModel", exif.TypeASCII), }
CanonIfdTags is a map of the the exif.TagID to exif.Tag for "IFD/Exif/MakerNotes.Canon" Source: https://exiftool.org/TagNames/Canon.html on 8/05/2020
var CanonMakernoteIfd = ifd.IfdItem{MakernotePath, IfdMakernoteID, IfdCanonMakernote}
CanonMakernoteIfd is the Makernote IFD "IFD/Exif/Makernotes" for Canon Cameras
var MakernoteIfd = ifd.IfdItem{MakernotePath, IfdMakernoteID, IfdMakernote}
MakernoteIfd is the Makernote IFD "IFD/MakerNote" for Makernote
MakernotePath is the MakernotePath Ifd Path
Functions ¶
func LoadMakernotesIfd ¶
LoadMakernotesIfd - returns the exif.IfdItem for the Make of the Camera
Types ¶
type AFPoint ¶
type AFPoint [4]int16
AFPoint - AutoFocusPoint
func NewAFPoint ¶
NewAFPoint - creates a new AFPoint from width, height, x-axis coord and y-axis coord
type CanonAESetting ¶
type CanonAESetting int16
CanonAESetting - Canon Makernote AutoExposure Setting
type CanonAFAreaMode ¶
type CanonAFAreaMode int16
func (CanonAFAreaMode) String ¶
func (caf CanonAFAreaMode) String() string
type CanonBracketMode ¶
type CanonBracketMode int16
CanonBracketMode - Canon Makernote Backet Mode
func (CanonBracketMode) Active ¶
func (cbm CanonBracketMode) Active() bool
Active - returns true if BracketMode is On
func (CanonBracketMode) String ¶
func (cbm CanonBracketMode) String() string
type CanonContinuousDrive ¶
type CanonContinuousDrive int16
CanonContinuousDrive is part of the CanonCameraSettings field
func (CanonContinuousDrive) Int16 ¶
func (ccd CanonContinuousDrive) Int16() int16
func (CanonContinuousDrive) String ¶
func (ccd CanonContinuousDrive) String() string
type CanonExposureMode ¶
type CanonExposureMode int16
CanonExposureMode is part of the CanonCameraSettings field
func (CanonExposureMode) String ¶
func (cem CanonExposureMode) String() string
type CanonFocusMode ¶
type CanonFocusMode int16
CanonFocusMode is part of the CanonCameraSettings field
func (CanonFocusMode) String ¶
func (cfm CanonFocusMode) String() string
type CanonFocusRange ¶
type CanonFocusRange int16
CanonFocusRange is part of the CanonCameraSettings field
func (CanonFocusRange) String ¶
func (cfr CanonFocusRange) String() string
type CanonMeteringMode ¶
type CanonMeteringMode int16
CanonMeteringMode is part of the CanonCameraSettings field
func (CanonMeteringMode) String ¶
func (cmm CanonMeteringMode) String() string
type FocusDistance ¶
type FocusDistance [2]int16
FocusDistance -
func NewFocusDistance ¶
func NewFocusDistance(upper, lower uint16) FocusDistance
NewFocusDistance creates a new FocusDistance with the upper and lower limits