From f51a9fa0934a0196aa9d37948d481e1913ca290d Mon Sep 17 00:00:00 2001 From: Andrew Fehr Date: Wed, 14 Oct 2020 18:43:43 -0400 Subject: [PATCH] exif: add page (#4670) --- pages/linux/exif.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/exif.md diff --git a/pages/linux/exif.md b/pages/linux/exif.md new file mode 100644 index 000000000..fe8bce9cb --- /dev/null +++ b/pages/linux/exif.md @@ -0,0 +1,24 @@ +# exif + +> Show and change EXIF information in JPEG files. +> More information: . + +- Show all recognized EXIF information in an image: + +`exif {{path/to/image.jpg}}` + +- Show a table listing known EXIF tags and whether each one exists in an image: + +`exif --list-tags --no-fixup {{image.jpg}}` + +- Extract the image thumbnail into the file thumbnail.jpg: + +`exif --extract-thumbnail --output={{thumbnail.jpg}} {{image.jpg}}` + +- Show the raw contents of the "Model" tag in the given image: + +`exif --ifd={{0}} --tag={{Model}} --machine-readable {{image.jpg}}` + +- Change the value of the "Artist" tag to John Smith and save to new.jpg: + +`exif --output={{new.jpg}} --ifd={{0}} --tag="{{Artist}}" --set-value="{{John Smith}}" --no-fixup {{image.jpg}}`