1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 21:22:09 +02:00
tldr/pages/linux/exif.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

24 lines
778 B
Markdown

# exif
> Show and change EXIF information in JPEG files.
> More information: <https://github.com/libexif/exif/>.
- 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}}`