wiki.techinc.nl/tests/phpunit/data
Brion Vibber a30bc4f7e0 Enable 4:2:0 chroma subsampling for JPEG thumbnails
* Add $wgJpegPixelFormat, default to 'yuv420'
* Implemented for ImageMagick via CLI and extension
* Currently ignored for other scaler backends
* Added test case to run when using ImageMagick

4:2:0 subsampling can save an average of 17% bandwidth
over 4:4:4 subsampling, at the cost of some artifacting
at sharp red or blue edges. This is usually not noticeable
in photographic images.

To restore the previous behavior, set to false:

  $wgJpegPixelFormat = false;

which will maintain the original file's pixel subsampling
settings in the thumbnail.

Can set explicitly to one of:

  'yuv444' - never subsample
  'yuv422' - subsample 2x horizontally, not vert
  'yuv420' - subsample 2x in both dimensions

Bug: T129128
Change-Id: Ib9cb36c3a7e6a69d66c11150ef4a1d02dbac2df5
2016-04-27 15:36:18 -07:00
..
autoloader
composer Don't display composer installed extensions/skins on Special:Version 2015-01-05 15:58:43 +00:00
css Strip comments before gathering url(...) refs in CSS 2015-09-19 16:10:53 -04:00
cssmin CSSMin: Do not base64-encode non-binary files when embedding 2014-09-30 23:13:42 +02:00
db
filecontentshasher Add unit tests for FileContentsHasher 2015-09-24 13:39:09 +01:00
filerepo Copy various random files used by tests to tests/phpunit/data 2014-06-03 22:52:51 +02:00
gitinfo GitInfo: Allow cache to be in the extension directory itself 2016-01-06 14:41:36 -08:00
helpers Handle static access in TestingAccessWrapper 2016-01-24 22:24:10 -06:00
import Follow-up a43af3bc: Add Import integration test 2015-05-25 10:07:06 +02:00
less Fix another test broken by I826adf9 2015-09-18 10:44:50 -07:00
localisationcache LocalisationCache: Process one fallback at a time 2014-09-04 16:56:31 +02:00
media Enable 4:2:0 chroma subsampling for JPEG thumbnails 2016-04-27 15:36:18 -07:00
parser ParserTests: Add a video file to parser test suite 2016-01-07 13:24:43 -08:00
resourceloader ResourceLoaderImage: Add basic tests 2015-03-30 19:15:35 +02:00
templates Support Mustache partials in Mustache template module 2015-12-21 17:33:40 -08:00
upload Copy various random files used by tests to tests/phpunit/data 2014-06-03 22:52:51 +02:00
xmp Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
zip