Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-26 00:18:47 +00:00
parent 9b06c2023f
commit 47db9e503e
127 changed files with 302 additions and 302 deletions

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# exif
> Show and change EXIF information in JPEG files.
> More information: <https://github.com/libexif/exif/>.
> More information: <https://manned.org/exif>.
- Show all recognized EXIF information in an image:
@@ -14,16 +14,16 @@ source: https://github.com/tldr-pages/tldr.git
- Show a table listing known EXIF tags and whether each one exists in an image:
`exif --list-tags --no-fixup {{image.jpg}}`
`exif {{[-l|--list-tags]}} --no-fixup {{path/to/image.jpg}}`
- Extract the image thumbnail into the file `thumbnail.jpg`:
- Extract the image thumbnail into a separate file:
`exif --extract-thumbnail --output={{thumbnail.jpg}} {{image.jpg}}`
`exif {{[-e|--extract-thumbnail]}} {{[-o|--output]}} {{path/to/thumbnail.jpg}} {{path/to/image.jpg}}`
- Show the raw contents of the "Model" tag in the given image:
`exif --ifd={{0}} --tag={{Model}} --machine-readable {{image.jpg}}`
`exif --ifd {{0}} {{[-t|--tag]}} "Model" {{[-m|--machine-readable]}} {{path/to/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}}`
`exif {{[-o|--output]}} {{path/to/new.jpg}} --ifd {{0}} {{[-t|--tag]}} "Artist" --set-value "John Smith" --no-fixup {{path/to/image.jpg}}`