From 986290ffedf8f0df6252ef4ef674fd4fa189375c Mon Sep 17 00:00:00 2001 From: thiemowmde Date: Tue, 12 Sep 2023 09:34:59 +0200 Subject: Make ExifRotationTest dramatically faster Down from about 1000ms to 200ms. By using much smaller images. The absolute size of the images is not relevant for this test. Only the ratio. There was nothing special about the "landscape-plain.jpg" image. But "portrait-rotated.jpg" was: It's technically stored in landscape, but marked with an EXIF tag for rotation. I used exiftool to copy the EXIF data to the smaller version, so it behaves the same as before. Change-Id: Ie977dfbceff02e4dfde38a5ef82e8ff81b4d6980 --- tests/phpunit/data/media/landscape-plain.jpg | Bin 38771 -> 2817 bytes tests/phpunit/data/media/portrait-rotated.jpg | Bin 38577 -> 6474 bytes 2 files changed, 0 insertions(+), 0 deletions(-) (limited to 'tests/phpunit/data/media') diff --git a/tests/phpunit/data/media/landscape-plain.jpg b/tests/phpunit/data/media/landscape-plain.jpg index cf29655511bb..3a9fd8a7aca6 100644 Binary files a/tests/phpunit/data/media/landscape-plain.jpg and b/tests/phpunit/data/media/landscape-plain.jpg differ diff --git a/tests/phpunit/data/media/portrait-rotated.jpg b/tests/phpunit/data/media/portrait-rotated.jpg index 445feaedcf10..5875b583ba2d 100644 Binary files a/tests/phpunit/data/media/portrait-rotated.jpg and b/tests/phpunit/data/media/portrait-rotated.jpg differ -- cgit v1.2.3