summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/870-image-rotation.pngbin0 -> 296 bytes
-rw-r--r--tests/typ/bugs/870-image-rotation.typ6
2 files changed, 6 insertions, 0 deletions
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
--- /dev/null
+++ b/tests/ref/bugs/870-image-rotation.png
Binary files 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)