Pokazywanie postów oznaczonych etykietą exif. Pokaż wszystkie posty
Pokazywanie postów oznaczonych etykietą exif. Pokaż wszystkie posty

środa, 13 czerwca 2018

How to retrieve EXIF data from the command line in Linux

Exchangeable Image File Format (Exif) – standard metadanych dla plików z obrazkami, wydany przez Japan Electronics and Information Technology Industries Association.

If you want to make use of the EXIF data stored in a JPEG (.jpg or .jpeg) or TIFF (.tif or .tiff) file from the command line in Debian Linux — or most other Linux variants — here’s how.

Install ImageMagick to provide the identify command
sudo apt-get install imagemagick
Use identify command
identify -verbose /usr/share/backgrounds/WildWheat_by_Brian_Burt.jpg

identify -verbose /usr/share/backgrounds/WildWheat_by_Brian_Burt.jpg | grep "exif:"


exiftool - ExifTool can display image metadata information of a file or edit them

Syntax: exiftool [OPTIONS] FILE
exiftool "file name.extension" 

Consult the exiftool documentation for a full list of options.




Metadata information can also be exported to an html document:

exiftool -h "file name.extension" > example.html


sobota, 3 lutego 2018

Read EXIF data from image

From the command line in Linux
#sudo apt-get install imagemagick
Install imagemagic and it`s tool identyfi. Go to terminal and type
identify -verbose /home/user/image/2000-01-01-0001.jpg
will print all data from that file
identify -verbose /home/user/image/2000-01-01-0001.jpg | grep "exif:"
will print all exif data from that file Using exiftool First install exif tools
#sudo apt-get install exiftool
then run in terminal
exiftool -a /home/user/image/2000-01-01-0001.jpg | grep "Image Width"
or man exiftool


More usefull exiftool