Basic support for WebP
authorbtongminh <bryan.tongminh@gmail.com>
Sun, 17 Nov 2013 16:43:27 +0000 (17:43 +0100)
committerOri.livneh <ori@wikimedia.org>
Fri, 26 Jun 2015 19:38:38 +0000 (19:38 +0000)
commit9c8f333eb87f128933dd754f4c7e4b26fa1cf514
tree183dd1099c6db9d000818950d53b78b73ca529c2
parent8be37c1c3d72c39b121cf1f6191299efe3b73dbc
Basic support for WebP

Adds basic image size detection for WebP and support in the
MediaHandler. Currently renders WebP files as PNGs, because that
handles transparency.

Bug: T50519
Change-Id: I3c00653a8a034efc3f6b60fe62b7ac2e5391f921
12 files changed:
.gitattributes
RELEASE-NOTES-1.26
autoload.php
includes/DefaultSettings.php
includes/MimeMagic.php
includes/libs/RiffExtractor.php [new file with mode: 0644]
includes/media/Bitmap.php
includes/media/WebP.php [new file with mode: 0644]
tests/phpunit/data/media/2_webp_a.webp [new file with mode: 0644]
tests/phpunit/data/media/2_webp_ll.webp [new file with mode: 0644]
tests/phpunit/data/media/webp_animated.webp [new file with mode: 0644]
tests/phpunit/includes/media/WebPTest.php [new file with mode: 0644]