Main Menu

Search results for: code userdefined

Search order
#1
......  for me, though you might need to tweak it a bit. Code Select Expand %Image::ExifTool::UserDefined = (  # ............ => {  TagTable => 'Image::ExifTool::UserDefined::USP',  # (see the definition of  ............  namespaces here...  }, );  %Image::ExifTool::UserDefined::USP = (  GROUPS => { 0 => 'XMP', 1 => 'XMP- ......
#2
......  for your Userdata tags. Something like this:  Code Select Expand %Image::ExifTool::UserDefined:: ............  do you want this to be?) );  %Image::ExifTool::UserDefined = (  'Image::ExifTool::XMP::Main' => {   ............ => {  TagTable => 'Image::ExifTool::UserDefined::Userdata',  },  },  }, );  ......
......  from: johndunce on October 29, 2023, 05:13:15 PMCode Select Expand Can't find table Image::ExifTool:: ............  the same as the ID, then you can just do this:  Code Select Expand %Image::ExifTool::UserDefined = (   ............  => { },  Source => { },  TelsReencode => { },  WriterType => { },   ......
......  I may have been putting it in the wrong place  Code Select Expand include Image::ExifTool::XMP;  #  ............  %Image::ExifTool::UserDefined hash defines new tags to be added # to existing  ............ . %Image::ExifTool::UserDefined = (  # new XMP namespaces (eg. xxx) must be added  ............  => {  TagTable => 'Image::ExifTool::UserDefined::video',  # (see the definition of this table  ............ )  },  },  }, );  %Image::ExifTool::UserDefined::video = (  GROUPS => { 0 => 'XMP', 1 => 'XMP- ............ --------------- 1; #end But this returns an error Code Select Expand C:\>exiftool -config testGps.config  ............  do. If I change include to use, it seems to work Code Select Expand C:\>exiftool -config testGps.config  ......
......  - to still be able to find the oldest datetime:  Code Select Expand %Image::ExifTool::UserDefined = (   ............  to "00" (i.e. just a few seconds older)?  In the code itself, I guess instead of "$date lt $oldest" I  ............  think? In my test cases it seems to run fine...  Code Select Expand %Image::ExifTool::UserDefined = (   ......
...... " "-Subject<CombineKeys" /path/to/files/  Code Select Expand # Config file to combine the  ............  duplicates and empty entries.  %Image::ExifTool::UserDefined = (  'Image::ExifTool::Composite' => {   ......
#7
Newbies / Re: New Custom XMP field like Keywords
July 24, 2024, 09:36:00 AM by lukasz050
......  so i was able to write my data using this:   Code Select Expand %Image::ExifTool::UserDefined = (  ' ......
......  -ThumbnailImage take (I am already using this).  Code Select Expand exiftool -ver 12.60  I setup this  ............  file:  Code Select Expand %Image::ExifTool::UserDefined = (   ............ ,  }, );  Then when I try to write to this tag  Code Select Expand $ exiftool '-NormalImage<=thumb.jpg' ............  example exiftool configs and explored the source code @ https://github.com/exiftool/exiftool/tree/ ......
......  its ability to manipulate and, chiefly, create UserDefined Tags [days ago @Phil and @StarGeek cleared things  ............  image label annotation would be serialized to a UserDefined tag – OR, as suggested, to a renamed standard one  ............  to get my point across, sorry.   What I want is  Code Select Expand   def writeToEXIFtag(data)   ............  #some pseudocode for now  Image.Exif.Label = data  instead of  ............  usual paired text file [json, xml, csv, etc.]   Code Select Expand def writeToJSONFile(path, fileName,  ......
......  hash into your config and it appears to work. Code Select Expand C:\>exiftool -config mie-johndee. ............  but they're a bit different and surprising:  Code Select Expand $ exiftool -config mie-johndee. ............  is the current mie-johndee.config I am using:  Code Select Expand use Image::ExifTool::MIE;  %Image:: ............ ::UserDefined = (  'Image::ExifTool::MIE::Meta' => {   ............ => {  TagTable => 'Image::ExifTool::UserDefined::JohnDee',  DirName => 'MIE- ............  }  }  } );  %Image::ExifTool::UserDefined::JohnDee = (  %Image::ExifTool::MIE:: ......
......  file (t3.config) and refrence the config file   Code to execute: C:\Users\tgi>exiftool -config "C:\ ............ .jpg"  Any guidance is appreciated.   Config File codeCode Select Expand %Image::ExifTool::UserDefined............  { },  pumpkinpie => { }, );  %Image::ExifTool::UserDefined::ns_2 = (  GROUPS => { 0 => 'XMP', 1 =>  ............ },  unknown => { }, );  # The %Image::ExifTool::UserDefined hash defines new tags to be added # to existing  ............ . %Image::ExifTool::UserDefined = (  # new XMP namespaces (ie. XXX) must be  ............ => {  TagTable => 'Image::ExifTool::UserDefined::ns_1',  },  },  ns_2 =>  ............ => {  TagTable => 'Image::ExifTool::UserDefined::ns_2',  },  },  }, );  1; # ......
#12
Newbies / Default exiftool arguments
June 10, 2024, 02:01:16 PM by krzysiu
......  neat than aliases. Example config gives this: Code Select Expand # Specify default exiftool command- ............  to all -execute'd commands @Image::ExifTool::UserDefined::Arguments = (  '-i', 'HIDDEN', # ignore  ............  (names beginning with ".") ); ...so I tried this: Code Select Expand @Image::ExifTool::UserDefined:: ............  ideas? Or I have to resotr to exiftool.bat with Code Select Expand exiftool.exe -overwrite_original -p  ......
......  for your answer. I copied the @Image::ExifTool::UserDefined::Geolocation block from the ExifTool Geolocation  ............  file and got the following error message:  Code Select Expand Loaded .Exiftool_config! Cannot  ......
......  exiftool cfg, so I'm just mentioning it here.  Code Select Expand %Image::ExifTool::UserDefined = (   ............ => {  TagTable => 'Image::ExifTool::UserDefined::fstop',  },  },  }, );  % ............ ::ExifTool::UserDefined::fstop = (  GROUPS => { 0 => 'XMP', 1 => 'XMP- ......
......  to edit this tag.  Here's my current script:  Code Select Expand #!/usr/bin/perl use warnings; use  ............ -tags-that-are-not-writable-by-exiftool # Source code where tags are defined: # https://github.com/ ............ /tree/master/lib/Image/ExifTool %Image::ExifTool::UserDefined = (  'Image::ExifTool::Samsung::Trailer' => {   ............  these by looking through exiftool source code for examples.  When I run this script, the  ......
#16
Newbies / Re: Config file issues
September 06, 2023, 01:15:10 PM by StarGeek
......  covered by this part in the Example Config file Code Select Expand %Image::ExifTool::UserDefined = (   ............ => {  TagTable => 'Image::ExifTool::UserDefined::xxx',  # (see the definition of  ............ . That is covered further down in the config Code Select Expand # This is a basic example of the  ............  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- ............  and change xxx to the name of your new namespace  Code Select Expand %Image::ExifTool::UserDefined = (   ............ => {  TagTable => 'Image::ExifTool::UserDefined::internal',  # (see the definition  ............  good except for the space in %Image::ExifTool::UserDefined:: internal. And because you set WRITABLE to  ............  jump to the end of the file.  Combined, you get Code Select Expand %Image::ExifTool::UserDefined = (   ............ => {  TagTable => 'Image::ExifTool::UserDefined::internal',  # (see the definition  ............  },  },  }, );  %Image::ExifTool::UserDefined::internal = (  GROUPS => { 0 => 'XMP', 1 => ' ............ > { },  secondTag => { }, );  %Image::ExifTool::UserDefined::Shortcuts = (  MyShortcut => ['XMP-internal: ............  not display the tag name without the config file. Code Select Expand C:\>exiftool -config test.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- ......
......  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 - ......
#19
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' => {   ......
#21
Metadata / Re: Post your LensType / LensID discoveries here
September 19, 2023, 03:56:46 PM by dmont
......  section in the example config jumped out to me  Code Select Expand @Image::ExifTool::UserDefined:: ......
......  to [PDF] fields.  Using This Custom Config -- Code Select Expand %Image::ExifTool::UserDefined = (   ............ },  }, ); 1; #end  With This Arguments File -- Code Select Expand -Sep ; |<-note that there is one  ............ .pdf  Gives Me This Result -- Code Select Expand exiftool -a -G0 -Sep "##"  ......
......  XMP files I need give ExifTool extra parameter  Code Select Expand exiftool -config onone.config "- ............ -onone:UserFlag=2" (unlike) or Code Select Expand exiftool -config onone.config "- ............ -onone:UserFlag=4" (like)  My onone.config means: Code Select Expand # new XMP namespaces (eg. xxx) must  ............ {  ## TagTable => 'Image::ExifTool::UserDefined::xxx',  TagTable => 'Image::ExifTool:: ......
......  can't get it to work.   I just did another try:  Code Select Expand exiftool -n -u '-UserComment<$ ............ , then copy that composite tag into UserComment:   Code Select Expand %Image::ExifTool::UserDefined = (   ......
......  a new one! I've received this error on Ubuntu:  Code Select Expand Can't locate Image/ExifTool/ ............ @INC (you may need to install the Image::ExifTool::UserDefined module) (@INC contains: /usr/local/bin/lib /etc/ ......
#26
Newbies / Invalid date/time and No writable tags
February 01, 2024, 06:27:52 PM by Marina
......  all dates to that value. I use this config file:  Code Select Expand %Image::ExifTool::UserDefined = (   ......
......  one from DJI. For DJI, I have this config file:  Code Select Expand %Image::ExifTool::UserDefined = (   ......
#28
......  data   6. Do I Need user configuration file?  Code Select Expand exiftool -config example.config   % ............ ::ExifTool::UserDefined = ( 'Image::ExifTool::GPS::Main'=>{  #Example  ......
#29
......   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  ......