diff --git a/src/gen/lib/__init__.py b/src/gen/lib/__init__.py index f7b486e1b..e92b57d2c 100644 --- a/src/gen/lib/__init__.py +++ b/src/gen/lib/__init__.py @@ -70,6 +70,7 @@ from gen.lib.eventroletype import EventRoleType from gen.lib.markertype import MarkerType from gen.lib.notetype import NoteType from gen.lib.styledtexttagtype import StyledTextTagType +from gen.lib.exiftype import ExifType # Text from gen.lib.styledtexttag import StyledTextTag diff --git a/src/gen/lib/exiftype.py b/src/gen/lib/exiftype.py index 51eeed026..3f383f74d 100644 --- a/src/gen/lib/exiftype.py +++ b/src/gen/lib/exiftype.py @@ -34,4 +34,57 @@ from gettext import gettext as _ # GRAMPS modules # #------------------------------------------------------------------------- +from gen.lib.grampstype import GrampsType +class ExifType(GrampsType): + + ExifImageMake = 0 + ExifImageModel = 1 + ExifImageOreintation = 2 + ExifImageXResolution = 3 + ExifImageYResolution = 4 + ExifImageResolutionUnit = 5 + ExifImageDateTime = 6 + ExifImageYcbCrPositioning = 7 + ExifImageExifTag = 8 + + ExifPhotoExposureTime = 9 + ExifPhotoFNumber = 10 + ExifPhotoExposureProgram = 11 + ExifPhotoExifVersion = 12 + ExifPhotoDateTimeOriginal = 13 + ExifPhotoDateTimeDigitized = 14 + ExifPhotoComponentsConfiguration = 15 + ExifPhotoCompressedBitsPerPixel = 16 + ExifPhotoExposireBiasValue = 17 + ExifPhotoMaxAperatureValue = 18 + ExifPhotoMeteringMode = 19 + ExifPhotoLightSource = 20 + ExifPhotoFlash = 21 + ExifPhotoFocaLight = 22 + ExifPhotoFlashpixVersion = 23 + ExifPhotoColorSpace = 24 + ExifPhotoPixelXDimension = 25 + ExifPhotoPixelYDimension = 26 + ExifPhotoInteroperabilityTag = 27 + ExifPhotoFileSource = 28 + ExifPhotoSceneTags = 29 + ExifPhotoCustomRendered = 30 + ExifPhotoExposureMode = 31 + ExifPhotoWhiteBalance = 32 + ExifPhotoSceneCaptureType = 33 + + ExifThumbnailCompression = 34 + ExifThumbnailMake = 35 + ExifThumbnailModel = 36 + ExifThumbnailOreintation = 37 + ExifThumbnailXResolution = 38 + ExifThumbnailYResolution = 39 + ExifThumbnailResolutionUnit = 40 + ExifThumbnailDateTime = 41 + ExifThumbnailJPEGInterchangeFormat = 42 + ExifThumbnailJPEGInterchangeLength = 43 + ExifThumbnailYcbCrPositioning = 44 + + ExiftopInteroperabilityIndex = 45 + ExiftopInteroperabilityVersion = 46