Main Menu

Search results for: code userdefined

Search order
......  didn't exist and was created. Press u to undo.  Code Select Expand #!/bin/bash  # Check if a tag name  ............   cat <<EOF > "$CONFIG_FILE" %Image::ExifTool::UserDefined = (  '$NAMESPACE' => {  $TAG_NAME => {  ......
#2
The Image::ExifTool API / Tesseract OCR revisited
August 27, 2024, 06:53:06 PM by StarGeek
......  screenshot of a game I play    The resulting text Code Select Expand Oes  885  \¥{ 965 @ 2  Fw \@u2 Sou  ............  and it doesn't read the circled numbers.  Code Select Expand #----------------------------------- ............ ) Created # # # References: # Sourcecode # https://github.com/tesseract-ocr/ ............ .com/UB-Mannheim/tesseract/wiki  %Image::ExifTool::UserDefined = (  'Image::ExifTool::Composite' => {   ............  # (not ($? >> 8)) checks the return code to see if the command ran without error   ......
#3
......  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- ......
#4
Newbies / custom tag
Today at 01:49:02 AM by ofelia
......  to keep what it was, following is my config file: Code Select Expand %Image::ExifTool::UserDefined = (   ............ => {  TagTable => 'Image::ExifTool::UserDefined::CUSTOM',  },  },  }, ); % ............ ::ExifTool::UserDefined::CUSTOM = (  GROUPS => { 0 => 'XMP', 1 => 'XMP- ......
......  exiftool outputs as SlugFontSense_12_Checksum Code Select Expand <?xpacket begin='�' id=' ............ > <?xpacket end='w'?> Here's my config file Code Select Expand # The %Image::ExifTool::UserDefined  ............  be added # to existing tables. %Image::ExifTool::UserDefined = (  # new XMP namespaces (eg. xxx) must be  ............ => {  TagTable => 'Image::ExifTool::UserDefined::ExtensisFontSense',  # (see the  ............  tag definition # in the %Image::ExifTool::UserDefined definition above. # The namespace prefix for  ............  1 group name of 'XMP-xxx'. %Image::ExifTool::UserDefined::ExtensisFontSense = (  GROUPS => { 0 => 'XMP', ............  warning and the data is truncated at that spot Code Select Expand Warning: Invalid structure field at  ......
......   I replaced $Focallength with $val in my original code and now it works as planned   Code Select  ............  %Image::ExifTool::UserDefined = (  'Image::ExifTool::Composite' => {   ......
......  August 29, 2024, 07:21:22 AMThis should do it:  Code Select Expand %Image::ExifTool::myTagList = (   ............ ',  4 => 'MajorBrand', );  %Image::ExifTool::UserDefined = (  'Image::ExifTool::Composite' => {   ......
#8
......  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: veevoo on May 09, 2025, 09:20:18 AMCode Select Expand %Image::ExifTool::UserDefined = (   ............  0 => 'QuickTime:ModifyDate',  ...  Code Select Expand Track Modify Date: 2025:04:06 04:23: ............  option is not causing the renaming issue. Your code uses Quicktime:ModifyDate, not Quicktime: ......
...... ::Exif::Main' with each entry. Try this:  Code Select Expand %Image::ExifTool::UserDefined = (   ......
......  with the next command showing what was written. Code Select Expand C:\>type temp.txt %Image::ExifTool:: ......
......  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  ......
......  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 => { },   ......
......  - 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 = (   ......
......  and it seems that the culprit is this new tag:  Code Select Expand [QuickTime] Full-frame-rate- ............  that tag with the help of this example.config:  Code Select Expand %Image::ExifTool::UserDefined = (   ............ -frame-rate-playback-intent' => { },  }, ); Code Select Expand exiftool -config example.config -m - ............ :Full-frame-rate-playback-intent=' movie.mov Code Select Expand exiftool -config example.config -m - ......
#16
......  this example  Try Code Select Expand %Image::ExifTool::UserDefined = (   ............ .  Looking at the QuickTime.pm file in the source code would be a good place to see more examples of  ......
#17
Metadata / Re: Config for EmbyCollections tag
April 20, 2025, 10:57:03 AM by StarGeek
......  file, you would look at Example #10 as a source  Code Select Expand %Image::ExifTool::UserDefined = (   ............  result is nearly identical to your example XMP. Code Select Expand C:\>exiftool -config  ......
#18
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 = (  ' ......
#19
......  or save the value to an external script variable Code Select Expand C:\>exiftool -G1 -a -s -xmp:all y:\! ............  two separate commands using the -execute option  Code Select Expand /path/to/file.pdf -XMP:Title=MyFile. ............ . You would use this as your shortcut section  Code Select Expand %Image::ExifTool::UserDefined:: ......
#20
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  ......
#21
Newbies / Re: Copying Epson scanner metadata
April 06, 2025, 09:32:25 PM by StarGeek
......  and I think I got any copy/paste errors fixed. Code Select Expand # XMP-Prefix0.config # Config file  ............ .org/forum/index.php?msg=92492  %Image::ExifTool::UserDefined = ( #--------------------------------------------- ............ => {  TagTable => 'Image::ExifTool::UserDefined::prefix0',  # (see the definition  ............ }, );  # XMP-prefix0 tag group %Image::ExifTool::UserDefined::prefix0 = (  GROUPS => { 0 => 'XMP', 1 => ' ......
......  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- ......
......  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  ......
......  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  ......
......  and output it as a tag called MyTimeDiff. Code Select Expand %Image::ExifTool::UserDefined = (   ............  'Image::ExifTool::Composite' => { line.  Example Code Select Expand C:\>exiftool -config MyTimeDiff. ............ ('FileModifyDate')))} /path/to/files/  Example Code Select Expand C:\>exiftool -p "$Filename $ ......
...... =filecreatedate. Or in the .exiftool_config Code Select Expand %Image::ExifTool::UserDefined:: ......
#27
......  -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,  ......
#29
The Image::ExifTool API / qrencode config file
August 05, 2024, 09:34:06 PM by StarGeek
......  upon Alan Clifford's idea to create QR codes from an image's GPS coordinate, I put together  ............  with a command such as this exiftool -config GPSQRCode.config -GPSQRCode -b -W %d%f-QR.png /path/to/ ............ /  Code Select Expand #----------------------------------- ............ ----------------------------- # File: GPSQRCode.config # # Description: User-defined Composite  ............  to create a GPS QR code # by running qrencode # # Tag  ............  and example: # # GPSQRCode # This will create a QR code image for any  ............ # Example: # exiftool -config GPSQRCode.config -GPSQRCode -b -W %d%f-QR.png /path/to/ ............  # https://github.com/fukuchi/libqrencode # Windows Port #  ............ ://sourceforge.net/projects/qrencode-for-windows/ # Tutorial #  ............  https://www.howtogeek.com/devops/how-to-create-qr-codes-from-the-linux-command-line/   %Image::ExifTool:: ............  'Image::ExifTool::Composite' => {   GPSQRCode => {  Require => {  0 => ............ ',$val[1]);   # run qrencode  my $QRCode = `qrencode -s 6 -l H - ............ $val[1]"`;  warn "Error running qrencode" and return undef unless $QRCode;   ............  $success = $et->WriteInfo($QRCode);  return \$QRCode;  },  ............  because I was going to check to make sure qrencode existed first by running qrencode --version but  ............  to STDERR. Also, this would mean running qrencode twice for every image. So that might get dropped  ............  file has instructions on installing on the qrencode program on Linux. There is also a Windows port of  ......
......  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; # ......