Exiftool: mudanças entre as edições

De Pontão Nós Digitais
Ir para navegaçãoIr para pesquisar
Sem resumo de edição
Sem resumo de edição
Linha 10: Linha 10:
   exiftool -common dir
   exiftool -common dir


* List specified meta information in tab-delimited column form for all images in dir to an output text file named "out.txt".
  exiftool -T -createdate -aperture -shutterspeed -iso dir > out.txt
* Print ImageSize and ExposureTime tag names and values.
  exiftool -s -ImageSize -ExposureTime b.jpg
* Print standard Canon information from two image files.
  exiftool -l -canon c.jpg d.jpg
* Recursively extract common meta information from files in pictures directory, writing text output to .txt files with the same names.
  exiftool -r -w .txt -common pictures
* Save thumbnail image from image.jpg to a file called thumbnail.jpg.
  exiftool -b -ThumbnailImage image.jpg > thumbnail.jpg
* Recursively extract JPG image from all Nikon NEF files in the current directory, adding _JFR.JPG for the name of the output JPG files.
  exiftool -b -JpgFromRaw -w _JFR.JPG -ext NEF -r .
* Extract all types of preview images (ThumbnailImage, PreviewImage, JpgFromRaw, etc.) from files in directory "dir", adding the tag name to the output preview image file names.
  exiftool -a -b -W %d%f_%t%-c.%s -preview:all dir
* Print formatted date/time for all JPG files in the current directory.
  exiftool -d '%r %a, %B %e, %Y' -DateTimeOriginal -S -s -ext jpg .
* Extract image resolution from EXIF IFD1 information (thumbnail image IFD).
  exiftool -IFD1:XResolution -IFD1:YResolution image.jpg
* Extract all tags with names containing the word "Resolution" from an image.
  exiftool '-*resolution*' image.jpg
* Extract all author-related XMP information from an image.
  exiftool -xmp:author:all -a image.jpg
* Extract complete XMP data record intact from a.jpg and write it to out.xmp using the special XMP tag (see the Extra tags in Image::ExifTool::TagNames).
  exiftool -xmp -b a.jpg > out.xmp
* Print one line of output containing the file name and DateTimeOriginal for each image in directory dir.
  exiftool -p '$filename has date $dateTimeOriginal' -q -f dir
* Extract all GPS positions from an AVCHD video.
  exiftool -ee -p '$gpslatitude, $gpslongitude, $gpstimestamp' a.m2ts
* Save complete ICC_Profile from an image to an output file with the same name and an extension of .icc.
  exiftool -icc_profile -b -w icc image.jpg
* Generate HTML pages from a hex dump of EXIF information in all images from the t/images directory. The output HTML files are written to the tmp directory (which is created if it didn't exist), with names of the form 'FILENAME_EXT.html'.
  exiftool -htmldump -w tmp/%f_%e.html t/images
* Extract embedded JPG and JP2 images from a PDF file. The output images will have file names like "Image_#.jpg" or "Image_#.jp2", where "#" is the ExifTool family 3 embedded document number for the image.
  exiftool -a -b -ee -embeddedimage -W Image_%.3g3.%s file.pdf




Linha 15: Linha 86:


* http://www.sno.phy.queensu.ca/~phil/exiftool/install.html#Unix
* http://www.sno.phy.queensu.ca/~phil/exiftool/install.html#Unix
== Referências ==
* http://www.sno.phy.queensu.ca/~phil/exiftool/exiftool_pod.html#reading_examples


[[Category: gráfico]]
[[Category: gráfico]]

Edição das 11h17min de 19 de junho de 2015

Comandos

  • Impressão de meta informações das fotos

Imprime na tela todas as meta informações de uma imagem, incluindo tags duplicadas ou desconhecidas. A saída das informações saí subdividida em grupos (Para exif familia 1).

 exiftool -a -u -g1 foto.jpg
  • Impressão de informação meta informação de diretórios

Imprime meta informações comuns de todas as imagens em um determinado diretório. A opção -common é uma abreviação que representa "common EXIF meta information".

 exiftool -common dir


  • List specified meta information in tab-delimited column form for all images in dir to an output text file named "out.txt".
 exiftool -T -createdate -aperture -shutterspeed -iso dir > out.txt


  • Print ImageSize and ExposureTime tag names and values.
 exiftool -s -ImageSize -ExposureTime b.jpg


  • Print standard Canon information from two image files.
 exiftool -l -canon c.jpg d.jpg


  • Recursively extract common meta information from files in pictures directory, writing text output to .txt files with the same names.
 exiftool -r -w .txt -common pictures


  • Save thumbnail image from image.jpg to a file called thumbnail.jpg.
 exiftool -b -ThumbnailImage image.jpg > thumbnail.jpg


  • Recursively extract JPG image from all Nikon NEF files in the current directory, adding _JFR.JPG for the name of the output JPG files.
 exiftool -b -JpgFromRaw -w _JFR.JPG -ext NEF -r .


  • Extract all types of preview images (ThumbnailImage, PreviewImage, JpgFromRaw, etc.) from files in directory "dir", adding the tag name to the output preview image file names.
 exiftool -a -b -W %d%f_%t%-c.%s -preview:all dir


  • Print formatted date/time for all JPG files in the current directory.
 exiftool -d '%r %a, %B %e, %Y' -DateTimeOriginal -S -s -ext jpg .


  • Extract image resolution from EXIF IFD1 information (thumbnail image IFD).
 exiftool -IFD1:XResolution -IFD1:YResolution image.jpg


  • Extract all tags with names containing the word "Resolution" from an image.
 exiftool '-*resolution*' image.jpg


  • Extract all author-related XMP information from an image.
 exiftool -xmp:author:all -a image.jpg


  • Extract complete XMP data record intact from a.jpg and write it to out.xmp using the special XMP tag (see the Extra tags in Image::ExifTool::TagNames).
 exiftool -xmp -b a.jpg > out.xmp


  • Print one line of output containing the file name and DateTimeOriginal for each image in directory dir.
 exiftool -p '$filename has date $dateTimeOriginal' -q -f dir


  • Extract all GPS positions from an AVCHD video.
 exiftool -ee -p '$gpslatitude, $gpslongitude, $gpstimestamp' a.m2ts


  • Save complete ICC_Profile from an image to an output file with the same name and an extension of .icc.
 exiftool -icc_profile -b -w icc image.jpg
  • Generate HTML pages from a hex dump of EXIF information in all images from the t/images directory. The output HTML files are written to the tmp directory (which is created if it didn't exist), with names of the form 'FILENAME_EXT.html'.
 exiftool -htmldump -w tmp/%f_%e.html t/images


  • Extract embedded JPG and JP2 images from a PDF file. The output images will have file names like "Image_#.jpg" or "Image_#.jp2", where "#" is the ExifTool family 3 embedded document number for the image.
 exiftool -a -b -ee -embeddedimage -W Image_%.3g3.%s file.pdf


Instalação

Referências