exiftool_vendored 12.58.0 → 12.59.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1727,10 +1727,11 @@ sensitive, and may be prefixed by one or more family 0, 1, 2 or 7 group
1727
1727
  names with optional leading family numbers, separated by colons (eg.
1728
1728
  'exif:iso'). A leading '-' indicates tags to be excluded (eg. '-comment'),
1729
1729
  or a trailing '#' causes the ValueConv value to be copied (same as setting
1730
- the Type option to 'ValueConv' for this tag only). Wildcards ('*' and '?')
1731
- may be used in the tag name. A tag name of '*' is commonly used when a
1732
- group is specified to copy all tags in the group (eg. 'XMP:*'). A special
1733
- feature allows tag names of the form 'DSTTAGE<lt>SRCTAG' (or
1730
+ the Type option to 'ValueConv' for this tag only). A leading '+' sets the
1731
+ Replace option to 0 on a per-tag basis (see Options below). Wildcards ('*'
1732
+ and '?') may be used in the tag name. A tag name of '*' is commonly used
1733
+ when a group is specified to copy all tags in the group (eg. 'XMP:*'). A
1734
+ special feature allows tag names of the form 'DSTTAGE<lt>SRCTAG' (or
1734
1735
  'SRCTAGE<gt>DSTTAG') to be specified to copy information to a tag with a
1735
1736
  different name or a specified group. Both 'SRCTAG' and 'DSTTAG' may contain
1736
1737
  wildcards and/or be prefixed by a group name (eg.
@@ -1769,7 +1770,9 @@ copies all information while preserving the original family 1 groups, while
1769
1770
  The options are the same was for L</SetNewValue>, and are passed directly
1770
1771
  to L</SetNewValue> internally, with a few exceptions:
1771
1772
 
1772
- - The Replace option defaults to 1 instead of 0 as with L</SetNewValue>.
1773
+ - The Replace option defaults to 1 instead of 0 as with L</SetNewValue>,
1774
+ however the tag name argument may be prefixed with '+' to set the Replace
1775
+ option to 0 for this argument only.
1773
1776
 
1774
1777
  - The AddValue or DelValue option is set for individual tags if '+>' or '->'
1775
1778
  (or '+E<lt>' or '-E<lt>') are used.
@@ -1870,6 +1873,31 @@ None.
1870
1873
 
1871
1874
  =back
1872
1875
 
1876
+ =head2 SetAlternateFile
1877
+
1878
+ Specify alternate file from which to read metadata. Tags from the alternate
1879
+ file are available after L</ExtractInfo> is called or during a call to
1880
+ L</SetNewValuesFromFile> by using a family 8 group name (eg. 'File1' in the
1881
+ example below).
1882
+
1883
+ $exifTool->SetAlternateFile(File1 => 'images/test1.jpg');
1884
+
1885
+ =over 4
1886
+
1887
+ =item Inputs:
1888
+
1889
+ 0) ExifTool object reference
1890
+
1891
+ 1) Family 8 group name, case insensitive (eg. 'File1', 'File2'...)
1892
+
1893
+ 2) Name of alternate input file, or undef to reset
1894
+
1895
+ =item Return Values:
1896
+
1897
+ 1 on success, or 0 if the group name is invalid.
1898
+
1899
+ =back
1900
+
1873
1901
  =head2 SetFileModifyDate
1874
1902
 
1875
1903
  Write the filesystem modification or creation time from the new value of the
@@ -2088,6 +2116,7 @@ The group family numbers are currently available:
2088
2116
  5) Metadata Path (eg. JPEG-APP1-IFD0-ExifIFD)
2089
2117
  6) EXIF/TIFF Format (eg. int8u, int32u, undef, string)
2090
2118
  7) Tag ID (eg. ID-271, ID-rights, ID-a9aut)
2119
+ 8) Alternate File Number (eg. File1, File2, File3...)
2091
2120
 
2092
2121
  Families 0 and 1 are based on the file structure, and are similar except
2093
2122
  that family 1 is more specific and sub-divides some groups to give more
@@ -2140,6 +2169,8 @@ non-numerical ID's may or may not have characters other than [-_A-Za-z0-9]
2140
2169
  converted to hex. Note that unlike other group names, the tag ID's of
2141
2170
  family 7 group names are case sensitive (but the leading "ID-" is not).
2142
2171
 
2172
+ Family 8 specifies the alternate file set from a call to L</SetAlternateFile>.
2173
+
2143
2174
  See L</GetAllGroups [static]> for complete lists of group names.
2144
2175
 
2145
2176
  =back
@@ -2392,6 +2423,10 @@ leading "0x" if the HexTagIDs option is set, or decimal otherwise.
2392
2423
  Characters in non-numerical ID's which are not valid in a group name are
2393
2424
  returned as 2 hex digits.)
2394
2425
 
2426
+ =item Family 8 (Alternate File):
2427
+
2428
+ File#
2429
+
2395
2430
  =back
2396
2431
 
2397
2432
  Note: This function may also be called as an ExifTool member function to
@@ -1,6 +1,6 @@
1
1
  Summary: perl module for image data extraction
2
2
  Name: perl-Image-ExifTool
3
- Version: 12.58
3
+ Version: 12.59
4
4
  Release: 1
5
5
  License: Artistic/GPL
6
6
  Group: Development/Libraries/Perl
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ExiftoolVendored
4
- VERSION = Gem::Version.new('12.58.0')
4
+ VERSION = Gem::Version.new('12.59.0')
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exiftool_vendored
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.58.0
4
+ version: 12.59.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew McEachen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-03-15 00:00:00.000000000 Z
12
+ date: 2023-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: exiftool