/usr/lib/python3/dist-packages/exifread/tags/__init__.py is in python3-exif 2.1.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | """
Tag definitions
"""
from .exif import *
from .makernote import *
DEFAULT_STOP_TAG = 'UNDEF'
# field type descriptions as (length, abbreviation, full name) tuples
FIELD_TYPES = (
(0, 'X', 'Proprietary'), # no such type
(1, 'B', 'Byte'),
(1, 'A', 'ASCII'),
(2, 'S', 'Short'),
(4, 'L', 'Long'),
(8, 'R', 'Ratio'),
(1, 'SB', 'Signed Byte'),
(1, 'U', 'Undefined'),
(2, 'SS', 'Signed Short'),
(4, 'SL', 'Signed Long'),
(8, 'SR', 'Signed Ratio'),
)
# To ignore when quick processing
IGNORE_TAGS = (
0x9286, # user comment
0x927C, # MakerNote Tags
0x02BC, # XPM
)
|