From b89348b92a9c1ae67a4bb69a6db69d14f881384d Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 14 Feb 2024 15:12:28 +0100 Subject: Read EXIF data and apply image rotation (#3413) --- tests/ref/bugs/870-image-rotation.png | Bin 0 -> 296 bytes tests/typ/bugs/870-image-rotation.typ | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100644 tests/ref/bugs/870-image-rotation.png create mode 100644 tests/typ/bugs/870-image-rotation.typ (limited to 'tests') diff --git a/tests/ref/bugs/870-image-rotation.png b/tests/ref/bugs/870-image-rotation.png new file mode 100644 index 00000000..83d9267d Binary files /dev/null and b/tests/ref/bugs/870-image-rotation.png differ diff --git a/tests/typ/bugs/870-image-rotation.typ b/tests/typ/bugs/870-image-rotation.typ new file mode 100644 index 00000000..56c3da1d --- /dev/null +++ b/tests/typ/bugs/870-image-rotation.typ @@ -0,0 +1,6 @@ +// Ensure that EXIF rotation is applied. +// https://github.com/image-rs/image/issues/1045 + +--- +// Files is from https://magnushoff.com/articles/jpeg-orientation/ +#image("/files/f2t.jpg", width: 10pt) -- cgit v1.2.3