Unified mentions for Exif/ITPC/XMP tags. Finalized 0.3.2 release.
This commit is contained in:
parent
2f94211507
commit
07ca626ca8
|
@ -6,7 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
### Added - tba
|
## [0.3.2] - 2020-04-12
|
||||||
|
|
||||||
|
### Added
|
||||||
- Added additional Exif and ITPC data fields for radiation comment.
|
- Added additional Exif and ITPC data fields for radiation comment.
|
||||||
|
|
||||||
## [0.3.1] - 2020-04-03
|
## [0.3.1] - 2020-04-03
|
||||||
|
|
|
@ -56,7 +56,7 @@ usage: rad_tag.py [-h] [-si SIFACTOR] [-tz Timezone] [-d] [-g GPX] [-o OUTDIR]
|
||||||
CSV Photo [Photo ...]
|
CSV Photo [Photo ...]
|
||||||
|
|
||||||
A unix-tyle tool that extracts GPS and/or radiation data from GPX/CSV files
|
A unix-tyle tool that extracts GPS and/or radiation data from GPX/CSV files
|
||||||
and writes them into the Exif tags of given photos.
|
and writes them into the Exif/ITPC/XMP tags of given photos.
|
||||||
|
|
||||||
positional arguments:
|
positional arguments:
|
||||||
CSV Geiger counter history file in CSV format.
|
CSV Geiger counter history file in CSV format.
|
||||||
|
|
|
@ -171,7 +171,7 @@ class Match:
|
||||||
|
|
||||||
class Exif:
|
class Exif:
|
||||||
'''
|
'''
|
||||||
Converts, compiles and writes Exif-Tags from given arguemnts.
|
Converts, compiles and writes Exif/ITPC/XMP-Tags from given arguments.
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
photo: file name of photo to modify
|
photo: file name of photo to modify
|
||||||
|
|
|
@ -2,9 +2,8 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
''' Iterates over a bunch of .jpg or .cr2 files and matches
|
''' Iterates over a bunch of .jpg or .cr2 files and matches
|
||||||
DateTimeOriginal from Exif tag to DateTime in a csv log
|
DateTimeOriginal from Exif tags to DateTime in a csv log
|
||||||
of a GeigerMuellerCounter and writes its value to the UserComment
|
of a GeigerMuellerCounter and writes its value to Exif/ITPC/XMP tags in µS/h '''
|
||||||
Exif tag in µS/h '''
|
|
||||||
|
|
||||||
import csv
|
import csv
|
||||||
import argparse
|
import argparse
|
||||||
|
@ -25,7 +24,7 @@ from functions import Radiation, Photo, Match, Exif, Output
|
||||||
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||||
description='''A unix-tyle tool that
|
description='''A unix-tyle tool that
|
||||||
extracts GPS and/or radiation data from GPX/CSV files and writes
|
extracts GPS and/or radiation data from GPX/CSV files and writes
|
||||||
them into the Exif tags of given photos.''')
|
them into the Exif/ITPC/XMP tags of given photos.''')
|
||||||
parser.add_argument('-si', '--sifactor', type=float, default=0.0065,
|
parser.add_argument('-si', '--sifactor', type=float, default=0.0065,
|
||||||
help='Factor to multiply recorded CPM with.')
|
help='Factor to multiply recorded CPM with.')
|
||||||
parser.add_argument('-tz', '--timezone', type=str, metavar='Timezone', default='utc',
|
parser.add_argument('-tz', '--timezone', type=str, metavar='Timezone', default='utc',
|
||||||
|
|
Loading…
Reference in New Issue