Documentation ¶
Overview ¶
Example (ExifTags) ¶
ts, err := tags.SupportedTags() if err != nil { fmt.Println(err) return } for _, t := range ts { fmt.Println(t) }
Output: ExposureTime FNumber SpectralSensitivity DateTimeOriginal DateTimeDigitized CompressedBitsPerPixel ShutterSpeedValue ApertureValue BrightnessValue ExposureBiasValue MaxApertureValue SubjectDistance FocalLength SubSecTime SubSecTimeOriginal SubSecTimeDigitized RelatedSoundFile FlashEnergy FocalPlaneXResolution FocalPlaneYResolution ExposureIndex DigitalZoomRatio ImageUniqueID CameraOwnerName BodySerialNumber LensSpecification LensMake LensModel LensSerialNumber GPSVersionID GPSLatitudeRef GPSLatitude GPSLongitudeRef GPSLongitude GPSAltitudeRef GPSAltitude GPSTimeStamp GPSSatellites GPSStatus GPSMeasureMode GPSDOP GPSSpeedRef GPSSpeed GPSTrackRef GPSTrack GPSImgDirectionRef GPSImgDirection GPSMapDatum GPSDestLatitudeRef GPSDestLatitude GPSDestLongitudeRef GPSDestLongitude GPSDestBearingRef GPSDestBearing GPSDestDistanceRef GPSDestDistance GPSDateStamp ProcessingSoftware DocumentName ImageDescription Make Model XResolution YResolution Software DateTime Artist HostComputer WhitePoint PrimaryChromaticities InkNames DotRange TargetPrinter ClipPath XClipPathUnits YClipPathUnits YCbCrCoefficients ReferenceBlackWhite XMLPacket ImageID CFAPattern BatteryLevel Copyright ExposureTime FNumber ImageResources SpectralSensitivity TimeZoneOffset DateTimeOriginal CompressedBitsPerPixel ShutterSpeedValue ApertureValue BrightnessValue ExposureBiasValue MaxApertureValue SubjectDistance FocalLength FlashEnergy FocalPlaneXResolution FocalPlaneYResolution SecurityClassification ImageHistory ExposureIndex TIFFEPStandardID XPTitle XPComment XPAuthor XPKeywords XPSubject DNGVersion DNGBackwardVersion UniqueCameraModel LocalizedCameraModel CFAPlaneColor BlackLevel BlackLevelDeltaH BlackLevelDeltaV DefaultScale ColorMatrix1 ColorMatrix2 CameraCalibration1 CameraCalibration2 ReductionMatrix1 ReductionMatrix2 AnalogBalance AsShotWhiteXY BaselineExposure BaselineNoise BaselineSharpness LinearResponseLimit CameraSerialNumber LensInfo ChromaBlurRadius AntiAliasStrength ShadowScale DNGPrivateData BestQualityScale RawDataUniqueID OriginalRawFileName AsShotPreProfileMatrix CurrentPreProfileMatrix CameraCalibrationSignature ProfileCalibrationSignature AsShotProfileName NoiseReductionApplied ProfileName ProfileHueSatMapData1 ProfileHueSatMapData2 ProfileToneCurve ProfileCopyright ForwardMatrix1 ForwardMatrix2 PreviewApplicationName PreviewApplicationVersion PreviewSettingsName PreviewSettingsDigest PreviewDateTime ProfileLookTableData NoiseProfile InteroperabilityIndex RelatedImageFileFormat
Example (OutFileIn) ¶
var scrns Screenshot pat := scrns.OutFilePat(time.Time{}, "SYS", "BODY") file := outFileIn(".", pat) fmt.Println(file)
Output: 010101000000.0.SYS.BODY.jpg
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPicsDir ¶
func DefaultPicsDir() string
Types ¶
type Screenshot ¶
type Screenshot struct { EDPicDir string OutRoot string CmdrDir bool Aspect float64 JpegQuality int SubstOrig bool RmOrig bool AddTags bool Lat, Lon float64 Alt int // contains filtered or unexported fields }
func (*Screenshot) Close ¶
func (scrns *Screenshot) Close() error
func (*Screenshot) OnJournalEvent ¶ added in v0.6.4
func (scrns *Screenshot) OnJournalEvent(e watched.JounalEvent) (err error)
func (*Screenshot) OnStatusEvent ¶ added in v0.6.4
func (scrns *Screenshot) OnStatusEvent(e watched.StatusEvent) error
func (*Screenshot) OutDir ¶
func (scrns *Screenshot) OutDir() string
func (*Screenshot) OutFilePat ¶
func (scrns *Screenshot) OutFilePat(t time.Time, sys, body string) string
Click to show internal directories.
Click to hide internal directories.