diff options
author | thiemowmde <thiemo.kreuz@wikimedia.de> | 2023-09-12 09:34:59 +0200 |
---|---|---|
committer | thiemowmde <thiemo.kreuz@wikimedia.de> | 2023-09-12 09:47:16 +0200 |
commit | 986290ffedf8f0df6252ef4ef674fd4fa189375c (patch) | |
tree | 29375620bd55b045e2d592432670fe75bccc77ae /tests/phpunit/data/media | |
parent | ceedcc8a9b525930520c81ee668693d82d775574 (diff) | |
download | mediawikicore-986290ffedf8f0df6252ef4ef674fd4fa189375c.tar.gz mediawikicore-986290ffedf8f0df6252ef4ef674fd4fa189375c.zip |
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
Diffstat (limited to 'tests/phpunit/data/media')
-rw-r--r-- | tests/phpunit/data/media/landscape-plain.jpg | bin | 38771 -> 2817 bytes |
-rw-r--r-- | tests/phpunit/data/media/portrait-rotated.jpg | bin | 38577 -> 6474 bytes |
2 files changed, 0 insertions, 0 deletions
diff --git a/tests/phpunit/data/media/landscape-plain.jpg b/tests/phpunit/data/media/landscape-plain.jpg Binary files differindex cf29655511bb..3a9fd8a7aca6 100644 --- a/tests/phpunit/data/media/landscape-plain.jpg +++ b/tests/phpunit/data/media/landscape-plain.jpg diff --git a/tests/phpunit/data/media/portrait-rotated.jpg b/tests/phpunit/data/media/portrait-rotated.jpg Binary files differindex 445feaedcf10..5875b583ba2d 100644 --- a/tests/phpunit/data/media/portrait-rotated.jpg +++ b/tests/phpunit/data/media/portrait-rotated.jpg |