exiftool | js wrapper around exiftool , providing metadata extraction | Runtime Evironment library
kandi X-RAY | exiftool Summary
kandi X-RAY | exiftool Summary
A node.js wrapper around exiftool, a commandline utility that can extract metadata from many different filetypes, including JPEG, PNG, PDF, WMV, MOV. For a full list see the exiftool list of supported filetypes.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of exiftool
exiftool Key Features
exiftool Examples and Code Snippets
Community Discussions
Trending Discussions on exiftool
QUESTION
I want to use imagemagick to crop an image. However, imagemagick will be receiving the image data to crop through a pipe before it:
...ANSWER
Answered 2022-Mar-21 at 11:58Updated Answer
It transpires that the problem was caused by inadvertently using GraphicsMagick rather than ImageMagick.
Original Answer
You should be able to use a dash -
to refer to the stdin
if that stream has a well-known magic number (signature) at the start:
QUESTION
I'm looking for the easiest way to get a maximum of metadata from all pictures of a single folder.
I actually want to make a soft (bash / vba / whatever) where I just have a simple action to do to export all metadata of each pics inside an excel worksheet.
What's about Exiftool ? is that the best technique ? Is anyone know a soft who do that ?
Thanks for the help, dear community.
...ANSWER
Answered 2022-Feb-14 at 13:50Use exiftool to create a csv file then open that with Excel.
exiftool -csv *.jpg > data.csv
QUESTION
Currently, I'm working on a python3 script that helps me sort the Google Photos takeout files. The Takeout service for Google Photos actually strips all the metadata of an image/video into a separate JSON file.
This script that I'm working on helps me to merge the timestamp present in the JSON file into its subsequent photo or video. In order to achieve this, I'm currently using - ExifTool by Phil Harvey, which is a Perl executable. I call this tool in a subprocess to edit the Date tags in EXIF/Metadata.
This process is quite hefty and is taking a large amount of time. Then I realised that most of my photos are JPG and videos are MP4, it is very easy to edit Exif data of JPG files in python using some of the libraries present & for the lesser proportion of photos like PNG I can use exiftool.
This has drastically improved the runtime of my script. Now I want to know that is there any way to edit the creation dates of MP4 files natively in python which can theoretically execute faster than the subprocess method.
Please help! Thanks in advance.
...ANSWER
Answered 2022-Feb-11 at 14:19Im not too familiar with it, but ffmpeg seems like an option for just the mp4's.
QUESTION
exiftool
produces multiple lines of output for each file it processes. I want to invoke it on all the jpgs in a directory, and I want to see how many lines are output for each file. Doing this,
ANSWER
Answered 2022-Jan-20 at 03:09Get-ChildItem -Filter *.jpg |
ForEach-Object { (exiftool $_.FullName).Count }
QUESTION
Downloaded seven MP3 files from a website. exiftool says the Duration is two minutes.
Opened it in an audio editor and find that it is actually four minutes.
Opened a (non-downloaded) MP3 file in the same editor, duration different from two or four.
Copied all audio from the downloaded file and pasted over the other audio. Editor shows the other changing to four minutes.
exiftool shows the second file has a duration of four minutes.
Same behavior (different numbers) for the other six downloaded files. First one is the only one where the difference was approximately a factor of two (so it's not stereo vs. mono)
Is Duration an ID3 tag that can be falsified, as opposed to being measured from the actual audio?
...ANSWER
Answered 2022-Jan-19 at 20:06There should be an (approx)
in the exiftool output after the Duration
value. Duration
is not an embedded tag, it's a value that's calculated on the fly by exiftool. If you add the -G
(-groupNames
) option to your command, you'll see that it is part of the Composite tag group. If you check the listing there, you'll see the tags that exiftool uses to calculate the Duration
. It's most likely the group that includes ID3Size
and MPEG:AudioBitrate
.
Exiftool doesn't read and parse the stream data, which the audio editor will do and get a more accurate result. Odds are there is something incorrect about the header for your file.
Related post on the exiftool forums.
QUESTION
I install new modules via the following command in my miniconda
...ANSWER
Answered 2022-Jan-06 at 20:11Consider creating a separate environment, e.g.,
QUESTION
I´m trying to extract some metadata and store them in a JSON file using Exiftool via Python.
If I run the following command (according to the documentation) in the CMD it works fine, generating a temp.json file:
...ANSWER
Answered 2022-Jan-06 at 19:42I believe the problem is that file redirection is a property of the command line and isn't available with subprocess.run
. See this StackOverflow question.
For a exiftool solution, you would use the -W
(-tagOut
) option, specifically -W+! C:/Users/XXX/Desktop/test_folder/temp.json
. See Note #3 under that link.
QUESTION
I just discovered that GIMP 2.10 removes JPG EXIF data because of the "PENTAX" in uppercase present in the EXIF data (the bug is described here and here).
Tried Exif Pilot freeware and found out the EXIF fields:
Make=PENTAX
Model=PENTAX K-x
Fixing them to "Pentax K-x" and "Pentax" solves the problem but requires me to do it manually one by one in Exif Pilot GUI.
Is there any way to do this as batch for a whole folder with JPG files? I tried to find some Exiftool parameters to replace "PENTAX" with "Pentax" but to keep the model information correctly but no success so I would appreciate help.
thanks
...ANSWER
Answered 2022-Jan-05 at 12:23Windows is lacking in having the generic command grep for this common task on many other systems. The jpeg files are binary but like a PDF the Meta data itself is held as plain text. Do check your text string is similar to below otherwise you will/may need to parse both PENTAX entries separately as single words.
So in this fixed case it it should be easy to use any binary file reader / writer and "Find aNd Replace" the text string. Just ensure it is byte for byte the same length.
QUESTION
According to spec, EXIF stores latitude and longitude with 192 precision each. But a simple calculation shows that you only need 32 bits to divide the circumference of Earth into segments of 9 mm:
...ANSWER
Answered 2021-Dec-19 at 14:50The format stores latitude and longitude each as 6 32-bit integer values, which adds up to 192 bits. The 6 integers store each of degrees, minutes and seconds as rational numbers with a numerator and denominator.
Why this format? Presumably it's designed for very simple processors that can't handle floating point, and might not even be able to do division. The format is more than 25 years old (though I'm not sure when GPS data was added), and cameras weren't as smart back then. Cameras needed to be able to store lots of data (pictures are big), but they didn't need to do a lot of mathematical operations on it. So they wasted some bits to make manipulation easier.
QUESTION
I have a lot of images (JPG) with some metadata. I'm interested in these three tags, for example, from one of the images:
[XMP] FlightPitchDegree : 0.734793
[XMP] FlightRollDegree : -1.024403
[XMP] FlightYawDegree : 192.286436
I need to copy these values for each image to the next tags:
Xmp.Camera.Pitch Xmp.Camera.Roll Xmp.Camera.Yaw
Mostly for tag editing, I'm using ExifTool, but I can't find commands for copying values between tags inside one file. I'll be very appreciative of any recommendation.
Best, Andriy
...ANSWER
Answered 2021-Dec-12 at 16:57To copy from one tag to another you would use the redirection feature of the -TagsFromFile
option. Basically it would be
exiftool "-TARGETTAG
You have the names of the SourceTags (FlightPitchDegree
/FlightRollDegree
/FlightYawDegree
), you just need to figure out the exiftool names of your target tags. I can find CameraPitch
/CameraYaw
/CameraRoll
tags on the DJI Tags page, but those are not XMP tags. The only other place I can find tags with similar names are part of the XMP-Camera group, which are not built into exiftool and you would have to download the pix4d.config file and use the -Config
option to include those definitions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
Install exiftool
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page