[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:46:17 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=44e1cd5
The following commit has been merged in the master branch:
commit 44e1cd5ba8d3dbc271a379cae0b836aa5de04d53
Author: Robin Mills <robin at clanmills.com>
Date: Wed Mar 2 20:18:18 2016 +0000
#1165. Thanks to Eric for reporting this and providing the patch.
---
src/exiv2.1 | 107 ++++++++++++++++++++++++++++++++----------------------------
1 file changed, 57 insertions(+), 50 deletions(-)
diff --git a/src/exiv2.1 b/src/exiv2.1
index 0fda58d..37274d6 100644
--- a/src/exiv2.1
+++ b/src/exiv2.1
@@ -3,7 +3,7 @@
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
-.TH EXIV2 1 "Jan 14, 2016"
+.TH EXIV2 1 "Mar 2, 2016"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
@@ -417,13 +417,12 @@ XX: Extract the "raw" XMP metadata to a sidecar (see option -pX)
.B \-r
Ifmt
P
Filename format for the 'rename' action. The format string follows
Bstrftime
P(3) and supports the following keywords:
-.br
-:basename: - original filename without extension
-.br
-:dirname: - name of the directory holding the original file
-.br
-:parentname: - name of parent directory
-.br
+.TS
+l l.
+:basename: original filename without extension
+:dirname: name of the directory holding the original file
+:parentname: name of parent directory
+.TE
Default filename format is %Y%m%d_%H%M%S.
.TP
.B \-c
Itxt
P
@@ -529,70 +528,85 @@ is used by default if the value doesn't start with a charset
definition.
.sp 1
The format for an IPTC
BDate
P value is:
-.br
+.RS
YYYY\-MM\-DD (year, month, day)
-.sp 1
+.RE
The format for an IPTC
BTime
P value is:
-.br
+.RS
HH:MM:SS (hours, minutes, seconds)
-.br
+.RE
and may optionally be followed by:
-.br
+.RS
\-HH:MM or +HH:MM (hours, minutes ahead/behind UTC)
-.sp 1
+.RE
The format of
BRational
P (and
BSRational
P) is one of:
-.br
- integer
-.br
- integer-numerator/integer-denominator
-.br
- Fnumber
-.br
- fnumber
-.sp 1
+.RS
+.IP
+integer
+.IP
+integer-numerator/integer-denominator
+.IP
+Fnumber
+.IP
+fnumber
+.RE
Rational Examples:
-.br
- exiv2 "-Mset Exif.Photo.MaxApertureValue 557429/62500" X.jpg
-.br
- exiv2 "-Mset Exif.Photo.MaxApertureValue F5.6" X.jpg
+.RS
+.nf
+exiv2 "-Mset Exif.Photo.MaxApertureValue 557429/62500" X.jpg
+exiv2 "-Mset Exif.Photo.MaxApertureValue F5.6" X.jpg
+.fi
+.RE
.sp 1
The Rational format Fnumber (or fnumber) is for the convenience of setting aperture values. Aperture values
are stored in Exif is an
BAPEX
P value which can be evaluated by the expression:
.sp 1
- apex-value = log(Fnumber) * 2.0 / log(2.0)
-.br
- Fnumber = exp(apex-value * log(2.0) / 2.0)
+.RS
+.nf
+apex-value = log(Fnumber) * 2.0 / log(2.0)
+Fnumber = exp(apex-value * log(2.0) / 2.0)
+.fi
+.RE
.sp 1
The Rational format Fnumber is valid for any
BRational
P, even when the key is not an Aperture.
More information about
BAPEX
P value is available from: http://en.wikipedia.org/wiki/APEX_system
.sp 1
The format of XMP
BLangAlt
P values includes an optional language qualifier:
-.br
-.B lang="
Ilanguage-code
P
I" text
P
+.RS
+.nf
+.B lang="
Ilanguage-code
P
I" text
P
+.fi
+.RE
.sp
lang="x-default" is used if the value doesn't start with a language qualifier.
.sp 1
+.RS
+.nf
exiv2 -M'set Xmp.dc.title lang="de-DE" Euros' X.jpg
-.br
exiv2 -M'set Xmp.dc.title lang="en-GB" Pounds' X.jpg
-.br
exiv2 -M'set Xmp.dc.title lang="en-US" In God We Trust' X.jpg
-.br
exiv2 -M'set Xmp.dc.title All others pay cash' X.jpg
+.fi
+.RE
.sp 1
To remove a language specification, set the value to '' (empty string)
-.br
- exiv2 -M'set Xmp.dc.title lang="en-US"' X.jpg
-.sp 1
+.RS
+.nf
+exiv2 -M'set Xmp.dc.title lang="en-US"' X.jpg
+.fi
+.RE
To remove all language specifications, delete the key:
-.br
- exiv2 -M'del Xmp.dc.title' X.jpg
-.TP
+.RS
+.nf
+exiv2 -M'del Xmp.dc.title' X.jpg
+.fi
+.RE
To register additional XMP namespaces, combine the command with:
-.TP
+.RS
.nf
Breg
P
Iprefix
P
Inamespace
P
.fi
+.RE
.SS Command file format
Empty lines and lines starting with
B#
P in a command file are
ignored (comments). Remaining lines are commands as described above.
@@ -633,24 +647,17 @@ Core" XMP schema properties in the sidecar file to the older IPTC IIM4
format. The inserted XMP properties include those in the "IPTC Core"
XMP schema.
.TP
-.nf
exiv2 \-M"set Exif.Photo.UserComment charset=Ascii New Exif comment" image.jpg
-.fi
Sets the Exif comment to an ASCII string.
.TP
-.nf
-exiv2 \-M"set Exif.GPSInfo.GPSLatitude 4/1 15/1 33/1" \
-\-M"set Exif.GPSInfo.GPSLatitudeRef N" image.jpg
-.fi
+exiv2 \-M"set Exif.GPSInfo.GPSLatitude 4/1 15/1 33/1" \ \-M"set Exif.GPSInfo.GPSLatitudeRef N" image.jpg
Sets the latitude to 4 degrees, 15 minutes and 33 seconds north. The
Exif standard stipulates that the GPSLatitude tag consists of three
Rational numbers for the degrees, minutes and seconds of the latitude
and GPSLatitudeRef contains either 'N' or 'S' for north or south
latitude respectively.
.TP
-.nf
exiv2 insert \-l/tmp -S.CRW /data/*.JPG
-.fi
Copy all metadata from CRW files in the /tmp directory to JPG files
with corresponding basenames in the /data directory. Note that this
copies metadata as is, without any modifications to adapt it to the
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list