From 39d4cab99bede90d106c2d67a2c9a6542b70e718 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 28 Jun 2022 19:31:32 +0200 Subject: [PATCH] media: Add automatic jpeg rotation --- docs/media/index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/media/index.md b/docs/media/index.md index e23d88e..c850667 100644 --- a/docs/media/index.md +++ b/docs/media/index.md @@ -41,6 +41,16 @@ Requires the metadata to fit in one ogg page (so no cover art :(). :::shell mpv --stream-dump=1.mkv dvd://1 [--dvd-device path/to/dvd] +## Images + +### Apply EXIF rotation to JPEG images + +Requires `jhead` and `jpegtran`. + + :::shell + nix shell nixpkgs#jhead nixpkgs#libjpeg.bin + jhead -ft -autorot *.JPG + ## MKV ### Fix mimetype of font attachments