News:

If this site goes down it is because of the crappy DreamHost web hosting: They will disable your "unlimited traffic" web server if a single bot hammers the site with a moderate load.  If necessary, an alternate ExifTool forum page is available at https://sourceforge.net/p/exiftool/discussion/

Main Menu

Search results for: code userdefined

Search order
...... " "-Subject<CombineKeys" /path/to/files/  Code Select Expand # Config file to combine the  ............  duplicates and empty entries.  %Image::ExifTool::UserDefined = (  'Image::ExifTool::Composite' => {   ......
#2
......   11 directories scanned  9 image files read  Code Select Expand %Image::ExifTool::UserDefined = (   ............ 'll see if I can combine this regex into one rule. Code Select Expand # Strip of combinations with: -  ......
......  converting the input, not the output).  Try this Code Select Expand  %Image::ExifTool::UserDefined = (   ............  => {  TagTable => 'Image::ExifTool::UserDefined::Camera',  },  },  }, );  %Image::ExifTool:: ............  processed, positive numbers passed through. Code Select Expand C:\>exiftool -config temp.config -P  ......
...... , if not in the list it defaults to a part of the code which I think wasn't working. In my case, it will  ............  other than with Print statements.  The relevant code I went with in AngleOfView (similar to FOV  ............ , but with my values) reads: Code Select Expand ValueConv => '(defined $val[2] ? 2* ............  -sep ", " /folder/path where the Args file reads Code Select Expand -OwnerName<BodyOwner -xmp: ............ =NSW -CreatorCountry=Australia -CreatorPostalCode=2016 -CreatorWorkEmail=xxxxxxx@tpg.com.au #[CSTR]- ............  -DigitalSourceType=http://cv.iptc.org/newscodes/digitalsourcetype/digitalCapture - ............  Config file, still a bit messy, currently reads: Code Select Expand # %Image::ExifTool::XMP::exif' => {  ............  => { 2 => 'Camera' } }, #}, %Image::ExifTool::UserDefined = (  'Image::ExifTool::Composite' => {   ............ ;  # },  },  }, # end Composite ); # end Userdefined # A special 'Lenses' list can be defined to give  ............  for the Composite:LensID tag @Image::ExifTool::UserDefined::Lenses = (  'Sigma 18-35mm f/1.8 DC HSM',  ' ............ , just because.  Edit 2 set up a Test args file Code Select Expand # exiftool -@ /path/to/Exiftool- ......
......  for simplifying the script in the batch file.  Code Select Expand #----------------------------------- ............  an alias for a tag name. %Image::ExifTool::UserDefined::Shortcuts = (  MyVideoTags => ['XMP:country',  ............  are case sensitive.  # The %Image::ExifTool::UserDefined hash defines new tags to be added # to existing  ............ .  %Image::ExifTool::UserDefined = (  # All EXIF tags are added to the Main  ............ => {  TagTable => 'Image::ExifTool::UserDefined::xxx',  # (see the definition of  ............ => {  TagTable => 'Image::ExifTool::UserDefined::MIETest',  DirName => 'MIE-Test',  ............  },  # ValueConv may also be a code reference  # Inputs: 0) reference to  ............  tag definition # in the %Image::ExifTool::UserDefined definition above. # The namespace prefix for  ............  1 group name of 'XMP-xxx'. %Image::ExifTool::UserDefined::xxx = (  GROUPS => { 0 => 'XMP', 1 => 'XMP- ............  use Image::ExifTool::MIE; %Image::ExifTool::UserDefined::MIETest = (  %Image::ExifTool::MIE:: ............  for the Composite:LensID tag @Image::ExifTool::UserDefined::Lenses = (  'Sigma AF 10-20mm F4-5.6 EX DC',   ............ -defined file types to recognize %Image::ExifTool::UserDefined::FileTypes = (  XXX => { # <-- the extension  ............ 'My ZZZ file type',  }, );    %Image::ExifTool::UserDefined = (  'Image::ExifTool::Composite' => {   ............  for available options) %Image::ExifTool::UserDefined::Options = (  CoordFormat => '%.6f', # change  ............ ---------------- 1; #end PH Edit: Please put your code in [code][/code]  ......
......  suit, but I think I have this working for you Code Select Expand %Image::ExifTool::UserDefined = (  ' ............ ::XMP::xmp' => {  weather => { },  }, );  Output Code Select Expand C:\>exiftool -config test3.config - ......
...... 't tested it. Phil may correct me if I'm wrong. Code Select Expand %Image::ExifTool::UserDefined = (   ......
#8
Newbies / Re: Multiple Tags in the FileName
June 15, 2017, 01:16:29 AM by StarGeek
......  slashes, colons, question marks, etc).  QuoteCode Select Expand %Image::ExifTool::UserDefined:: ............  Final (afaik). You would want Final to be  Code Select Expand [code]%Image::ExifTool::UserDefined............  designate as the separator.   Example output: Code Select Expand C:\>exiftool -myshortcut X:\!temp\ ......
......  find it useful, all the better.  Example output: Code Select Expand C:\>exiftool -echo "List tags at  ............  Keyword Config file (also attached at end): Code Select Expand #----------------------------------- ............ ' => $key} ;  }  }  return }  %Image::ExifTool::UserDefined = (  'Image::ExifTool::Composite' => {   ......
...... : StarGeek on September 03, 2021, 11:59:36 AMTry Code Select Expand %Image::ExifTool::UserDefined = (  ' ............ ',  Format => 'string[10]',  },  }, ); Example: Code Select Expand C:\>exiftool -config temp.config -P  ......
#11
Metadata / Question to file acdsee.config
August 27, 2022, 05:26:27 AM by herb
......  of the Exiftool full distribution. In line 214 Code Select Expand %Image::ExifTool::UserDefined:: ......
......  simple tag definition with this resulting config Code Select Expand %Image::ExifTool::UserDefined = (   ............  with config and then reading without config. Code Select Expand C:\>exiftool -config xx.txt -P - ......
......  store data. So, I created a custom config file:  Code Select Expand %Image::ExifTool::UserDefined:: ............  => { },  topSize => { }, );  %Image::ExifTool::UserDefined = (  'Image::ExifTool::XMP::Main' => {   ............ => {  TagTable => 'Image::ExifTool::UserDefined::model',  },  },  }, );   ............  and update the modelName, height, and itemSize:  Code Select Expand exiftool -config ~/Desktop/exiftool. ............  so close, but in Photoshop (Raw Data) I see:  Code Select Expand <custom:height>4'1"</custom:height>  ......
#14
Newbies / Custom Shortcut not working consistently?
February 03, 2022, 06:55:27 PM by jamiboi
......  have added the following shortcuts to my config:  Code Select Expand %Image::ExifTool::UserDefined:: ............  date/time, equal to the user-defined "MyDate"  Code Select Expand  exiftool "-VidCreate<MyDate" "C:\ ............  all MOV files in my directory I have tested the code against individual files and it works. However  ......
...... ->MPRegion2IPTCRegion And the shortcut section Code Select Expand %Image::ExifTool::UserDefined:: ......
......  can get the raw value.  zone_Identifier.config Code Select Expand %Image::ExifTool::UserDefined = (   ............ ---------------------------------- Example output: Code Select Expand C:\>exiftool -config  ......
......  one is found.  This was the reply at the time:  Code Select Expand %Image::ExifTool::UserDefined = (   ............  image instead of non-rotated pls? I tried   Code Select Expand ValueConv => sub {   ......
#18
Newbies / I cannot enter values ​​to two labels :(
March 30, 2021, 10:35:43 PM by anta
......  example.config I lost when my computer died    Code Select Expand %Image::ExifTool::UserDefined = (   ............ => {  TagTable => 'Image::ExifTool::UserDefined::BioLifePro',  # (see the  ............  },  },  }, );  %Image::ExifTool::UserDefined::BioLifePro = (  GROUPS => { 0 => 'XMP', 1 => ' ......
......  Phil!  Thats what i get for just copy/pasting code i found and not truly understanding what it does.  ............  and start understanding the config files better.  Code Select Expand %Image::ExifTool::UserDefined = (   ......
......  without subroutine but it's not the point !)  Code Select Expand #--------------------------------- # ............   # ...  return $res; }  %Image::ExifTool::UserDefined = (  'Image::ExifTool::Composite' => {    ......
#21
...... : Phil Harvey on December 21, 2022, 09:29:43 AMCode Select Expand %Image::ExifTool::UserDefined = (   ............  },  },  }, ); %Image::ExifTool::UserDefined::Options = (  RequestTags => 'BaseName', ); 1;  ............  below, what it does converted to plain english?  Code Select Expand $val[0]=~ /(\d+)/;Is this regex,  ............  d+ for in /(\d+)/;?  Code Select Expand my $num = sprintf('%.*d', length($1) ............  perl?  What %.*d means and where $1 pointing to?  Code Select Expand $val[0]=~ s/(\d+)/$num/;What this s/ ......
#22
Newbies / add tag as JSON gets encoded
May 05, 2020, 08:16:16 AM by mrharel
......  of the fields is suppose to be a JSON input.   Code Select Expand %Image::ExifTool::UserDefined = (   ............ => {  TagTable => 'Image::ExifTool::UserDefined::MyNS',  # (see the definition of  ............  },  },  }, );  %Image::ExifTool::UserDefined::MyNS = (  GROUPS => { 0 => 'XMP', 1 =>  ............ ',  }, );  1; #end But when i add a new tag  Code Select Expand exiftool -config .ExifTool_config - ............ :1}" img.jpg   but the problem is i see the XMP as Code Select Expand <MyNS:JSON>{&quot;a&quot;:1}</MyNS: ............  there a way to make sure the json data is not encoded? ......
......  date and compare . It seems is possible to have   Code Select Expand use POSIX qw(strftime); $now =  ............ ; print "Todays' date is $now\n"; outside the  Code Select Expand %Image::ExifTool::UserDefined = (  ......
#24
Newbies / Re: Extracting binary data from a custom tag
January 14, 2021, 11:55:18 AM by v16p20
......  and is still converted (Win 10, ExifTool 12.14).  Code Select Expand %Image::ExifTool::UserDefined = (   ......
......  think I found the solution Code Select Expand abs(Image::ExifTool::GetUnixTime($ ............  return different in seconds   the final solution: Code Select Expand %Image::ExifTool::UserDefined = (   ......
#26
Newbies / Re: config file with composite tag
June 14, 2014, 11:50:12 AM by Phil Harvey
......  when copying from another file. Try this:  Code Select Expand %Image::ExifTool::UserDefined = (   ......
#27
......  from: perlcat on February 16, 2011, 11:39:57 AMCode Select Expand %Image::ExifTool::UserDefined = (   ............  the definition for StripByteCounts in the source code for the ExifTool Exif module.  Unfortunately,  ......
......  think this will do what you want:  Code Select Expand %Image::ExifTool::UserDefined = (   ............ => {  TagTable => 'Image::ExifTool::UserDefined::Camera',  },  },  }, );  % ............ ::ExifTool::UserDefined::Camera = (  GROUPS => { 0 => 'XMP', 1 = ......
#29
Newbies / Re: Write to custom XMP field
January 26, 2017, 01:53:49 PM by Phil Harvey
......  that you have named your table "Image::ExifTool::UserDefined::ShopbopCustomData" but referred to a table of a  ............  name:  Code Select Expand  TagTable => 'Image:: ............ ::UserDefined::custom', -  ......
......  does what I want. Thank you very much Hayo!   Code Select Expand iMac-van-Fulco:~ Fulco$ exiftool - ............  : +52.3565640000, +4.9599410000   Code Select Expand %Image::ExifTool::UserDefined = (   ......