ExifTool is a platform-independent Perl library and command-line application for reading, writing and editing meta information in a wide variety of files.
Questions tagged [exiftool]
375 questions
2
votes
1 answer
How to use mogrify (ImageMagick) to convert from NEF to *.jpg and retain EXIF data?
I'm converting about 9000 photos from .NEF to .jpg.
I'd like to retain all EXIF data, most importantly Date and time created, Latidude and Longitude.
I'd like the JPGs to be at the highest possible quality.
I've just gotten started using…

Nova
- 5,423
- 2
- 42
- 62
2
votes
1 answer
XMP data written from commons io imaging not readable by metadata-extractor
I am using commons io imaging library to add xmp metadata to a JPEG file. This is how I'm doing it:
String xmpXml = "some sample desc123";
JpegXmpRewriter rewriter = new JpegXmpRewriter();
…

Omnipresent
- 29,434
- 47
- 142
- 186
2
votes
0 answers
Windows filesystem sync issues?
I've run into interesting problems using Exiftool 10.10+, Qt 5.5.1 and Windows 10.
I'm creating temporary file with QTemporaryFile, write there some data, save it, wait untill it's flushed using FlushFileBuffers() and afterwards pass this file as…

Ribtoks
- 6,634
- 1
- 25
- 37
2
votes
1 answer
EXIFTool JSON to EXIF batch processing
I have >400 JPG files and a JSON file for each which contains the image tags, description and title. I've found this command
exiftool -json=picture.json picture.jpg
But I don't want to run this for each and every file.
How can I run this command…

Raf
- 48
- 1
- 6
2
votes
0 answers
How to extract GPX file from iPhone mp4 or Mov file
I try to extract GPS metadata using exiftool
$ exiftool input.mov (attached)
Which able to display GPS data.
However when try to run with some app (eg:from http://www.registratorviewer.com) the GPS data is not display.
Perhap there is another way.…

PKul
- 1,691
- 2
- 21
- 41
2
votes
1 answer
Fastest way to get colormode of images
I want to get colormode (bitmap, gray, rgb, cmyk) of image files (jpg, tif). Imagemagick calls it "colorspace", while exiftool "colormode" and Photoshop "image mode".
One possibility is identify, which gives nearly always the desired result, but it…

Timo Kähkönen
- 11,962
- 9
- 71
- 112
1
vote
1 answer
Tools to determine video orientation
I receive videos from different devices and want to encode them using the correct orientation.
I've seen some of examples of how to determine the orientation of a video from a iPhone.
With exiftool and mediainfo I can indeed tell if an iPhone video…

JayDL
- 215
- 5
- 12
1
vote
0 answers
PHP : exiftool using shell_exec -filemodifydate not applying (but is in bash)
Using PHP to run exiftool on an image.
My code is :
// $newEpoch is defined by user input
$date = date('Y:m:d G:i:s', $newEpoch);
shell_exec("exiftool '-DateTimeOriginal={$date}' '-FileModifyDate={$date}' '{$file}'");
This sets the DateTimeOriginal…

Silloky
- 147
- 13
1
vote
1 answer
How to load/alter image tags from R?
I want to add 'tags' to images by altering their metadata. I think I could use exiftool to start this process but am still unsure of how to go about this. For reference I have a .csv file with the tags I would like to add to images, the .csv file…

Mikael Minten
- 11
- 2
1
vote
0 answers
ffmpeg timecode based on filename
I have xxxxx videofiles that need to get a timecode (for working in premiere)
The filenames are all like this 2023-03-08 12.59.59 AndSomeRandowNumbers.
Is that possible with ffmpeg?
Or if that is not possible: can ffmpeg use an other date from the…

marven
- 11
- 2
1
vote
1 answer
Goalng exec.Command with exiftool creates extra file named {filename}_original when setting tags
I'm attempting to update image metadata using golang. The simplest way I've found to do this is simply running exiftool with os/exec, but for some reason this also creates a file that contains the original tags, called whatever the original file is…

John Jorgensen
- 11
- 2
1
vote
1 answer
Exiftool from remote sources
I'm trying to get image metadata from the internet using exiftool and tried to follow along with the piping example provided in exiftools docs, which I've linked below. This does not work as expected and instead returns an error of no file…

archer46
- 13
- 2
1
vote
0 answers
Translate Exiftool command to C++
I want to translate the following exiftool command to an Exiftool C++ code:
exiftool -RawThermalImage -b imageIn.jpg > imageOut.png
So far I have written the following:
ExifTool* imageIn = new ExifTool();
TagInfo* information =…

Tree Big
- 113
- 9
1
vote
0 answers
Exiftools not installing on Heroku
I am trying to deploy my first project on Heroku and having an issue trying to install Exiftools on Heroku. My site is highly dependent on using ExifField within my models to get image information from pictures which is then displayed within my…

Rob
- 46
- 3
1
vote
1 answer
Exiftool DateTimeOriginal returning numbers
When using Phil Harvey's Exiftool version 12.31 on Windows, the DateTimeOriginal field is returning numbers, which seems to be an HEX value, but it's too big to make any sense. As a DEC value it doesn't make any sense either, so I'm thinking that…

Adrián Carreño
- 13
- 2