88# Revisions: Nov. 12/2003 - P. Harvey Created
99# (See html/history.html for revision history)
1010#
11- # Legal: Copyright (c) 2003-2025 , Phil Harvey (philharvey66 at gmail.com)
11+ # Legal: Copyright (c) 2003-2026 , Phil Harvey (philharvey66 at gmail.com)
1212# This library is free software; you can redistribute it and/or
1313# modify it under the same terms as Perl itself.
1414# ------------------------------------------------------------------------------
@@ -29,7 +29,7 @@ use vars qw($VERSION $RELEASE @ISA @EXPORT_OK %EXPORT_TAGS $AUTOLOAD @fileTypes
2929 %jpegMarker %specialTags %fileTypeLookup $testLen $exeDir
3030 %static_vars $advFmtSelf $configFile @configFiles $noConfig) ;
3131
32- $VERSION = ' 13.45 ' ;
32+ $VERSION = ' 13.46 ' ;
3333$RELEASE = ' ' ;
3434@ISA = qw( Exporter) ;
3535%EXPORT_TAGS = (
@@ -1147,6 +1147,7 @@ my @availableOptions = (
11471147 [ ' GeoMinSats' , undef , ' geotag minimum satellites' ],
11481148 [ ' GeoHPosErr' , undef , ' geotag GPSHPositioningError based on $GPSDOP' ],
11491149 [ ' GeoSpeedRef' , undef , ' geotag GPSSpeedRef' ],
1150+ [ ' GeoUserTag' , undef , ' user-defined GPX tags for geotagging' ],
11501151 [ ' GlobalTimeShift' , undef , ' apply time shift to all extracted date/time values' ],
11511152 [ ' GPSQuadrant' , undef , ' quadrant for GPS if not otherwise known' ],
11521153 [ ' Group#' , undef , ' return tags for specified groups in family #' ],
@@ -4681,7 +4682,8 @@ sub SplitFileName($)
46814682
46824683# ------------------------------------------------------------------------------
46834684# Encode file name for calls to system i/o routines
4684- # Inputs: 0) ExifTool ref, 1) file name in CharsetFileName encoding, 2) flag to force conversion
4685+ # Inputs: 0) ExifTool ref, 1) file name in CharsetFileName encoding,
4686+ # 2) flag to force conversion even if no special characters
46854687# Returns: true if Windows Unicode routines should be used (in which case
46864688# the file name will be encoded as a null-terminated UTF-16LE string)
46874689sub EncodeFileName ($$;$)
@@ -4877,7 +4879,7 @@ sub Exists($$;$)
48774879 eval { Win32API::File::CloseHandle($wh ) };
48784880 } elsif ($writing ) {
48794881 # (named pipes already exist, but we pretend that they don't
4880- # so we will be able to write them, so test with for pipe -p)
4882+ # so we will be able to write them, so test for pipe with -p)
48814883 return (-e $file and not -p $file );
48824884 } else {
48834885 return (-e $file );
@@ -6787,7 +6789,7 @@ sub GetUnixTime($;$)
67876789
67886790# ------------------------------------------------------------------------------
67896791# Print conversion for file size
6790- # Inputs: 0) file size in bytes
6792+ # Inputs: 0) file size in bytes, 1) optional ExifTool ref
67916793# Returns: converted file size
67926794sub ConvertFileSize ($;$)
67936795{
0 commit comments