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
4
votes
3 answers
Generate single thumbnail for Photoshop *.psd files
I want to generate one single JPEG image file for PSD formats using any software.
I tried ImageMagick but it's converting every layer into different images.
I also tried exiftool. It got converted to one single image but quality is very bad.
This…

Shilpi Agrawal
- 153
- 1
- 15
4
votes
4 answers
Cannot run shell command through php exec, but can as user on shell?
I'm trying to get exiftool to work on my dedicated server. The issue is that PHP exec seems to run different than when a command is run as a user. Oddly enough, PHP shows up as the same user I log in with, but it does not behave the same with system…

Orangeman555
- 1,179
- 2
- 21
- 45
4
votes
2 answers
ExifTool output file name
I'm trying to search hundreds of files for the keyword 'Description' and then output the name of a file that contains the keyword.
Executing a simple exiftool * | grep Description (in UNIX) gives me the line in the file but not the name of the file…

dfyoung
- 103
- 1
- 6
3
votes
3 answers
Speed up nautilus python-extensions for reading image's Exif
I've written a Nautilus extension which reads picture's metadata (executing exiftool), but when I open folders with many files, it really slows down the file manager and hangs until it finishes reading the file's data.
Is there a way to make…

Stefano d'Antonio
- 5,874
- 3
- 32
- 45
3
votes
1 answer
Extract parameters from Exiftool to haskell
I'm writing a program in Haskell that needs the metadata from media files, such as runtime, artist, size, name, copyright, height....
Basically I need to get this information and create some pdf's with it, but I can't find a way to get the values…
GoodGuySteve
3
votes
1 answer
Is there a fast method to read image dimensions (W x H) in R
I have a folder of 90 million images. I have a table with a column for file_path with the full path to each file. I need to read the image height and width for all every image in the folder. And save the result as a table that can be read into R.
I…

Abram Fleishman
- 161
- 1
- 6
3
votes
1 answer
Write/Edit metadata in a JPG/PNG image
Usually to read metadata from an image I used PyExifTool witch is very powerfull:
import exiftool
exiftool.executable = "exiftool.exe"
img_path = 'test.JPG'
with exiftool.ExifTool() as et:
metadata = et.get_metadata(img_path) #…

Helder Machado
- 29
- 1
- 3
3
votes
1 answer
Including duplicates in ExifTool output with Unspecified Tag
I'm trying to replicate the following command in Java, to capture the file names of some files in a zip.
ExifTool.exe -a -ZipFileName C:\Users\Name\Downloads\file.zip
This gives the following output
Zip File Name :…

davo777
- 286
- 2
- 15
3
votes
1 answer
NodeJs: Exiftool can not be spawned in AWS Lambda environment
Exiftool can not be spawned in aws lambda environment, getting below error:
ERROR { Error: spawn /var/task/node_modules/dist-exiftool/node_modules/exiftool.pl/vendor/exiftool ENOENT
at Process.ChildProcess._handle.onexit…

tandel milan
- 41
- 3
3
votes
1 answer
How to set file's DateTimeOriginal from file name using ExifTool
I have a directory with many image files that don't have their DateTimeOriginal metadata set, but do have this date in the file name itself in the format of YYYMMDD, e.g. 20120524_091536.mp4
I want to use exiftool to move these files into folders…

crichavin
- 4,672
- 10
- 50
- 95
3
votes
4 answers
How to add GPS latitude and longitude using Exiftool in mac (how to edit meta data in jpeg)
I have a bunch jpeg image that is obtained from FLIR camera. Along with that images I collected the GPS coordinates also. Now I'm trying to take the GPS latitude and longitude to the metadata of the image.
I wrote a program in R programming…

bibinwilson
- 348
- 2
- 6
- 20
3
votes
4 answers
AWS Lambda: How to use tools that must be installed first in linux?
I understand that AWS Lambda runs on the application layer of an isolated environment.
In many situations, functions need to use third-party tools that must be installed first on the linux machine. For example, a media processing function uses…

Jinsong Li
- 6,347
- 1
- 23
- 20
3
votes
1 answer
How can I embed metadata into a custom XMP field with exiftool?
Can someone please explain how to embed metadata into a custom metadata field in an MP4 file with exiftool? I've searched all the docs and it seems to be related to the config file that needs to be created. Here is what I'm working with. (I know…

JasonPerr
- 339
- 3
- 16
3
votes
2 answers
Exported Google+ photos, how do I convert JSON data into EXIF?
Recently used Google Takeout to download 60GB+ of photos and video from Google+.
This has resulted in plenty of files -- but valuable metadata including the original dates for photos and often location is stored in a separate metadata.json file for…

MyNameIsMax
- 31
- 1
- 2
3
votes
1 answer
Getting start time of mp4 video with millisecond precision
I am doing a project that requires me to know the exact datetime that a particular frame of a video file is occurring. I want to do this by knowing the start datetime of the video and then adding the elapsed time.
The problem is that .mp4 (and EXIF…

AuthorOfTheSurf
- 545
- 1
- 3
- 12