Wikimedia

Add interlaced thumbnail parameter

Add 'interlaced' to the thumbnail transformation parameters. (Do not add it to the wiki syntax which is already overcomplicated, just to the thumb.php parameters.) Primarily for JPEG; other bitmap formats as long as it's not much extra effort.

This is step 1 of https://phabricator.wikimedia.org/T120032.

You can look at thumb.php for how thumbnail parameters are handled, and work backwards from there. The interesting part is going to be in BitmapHandler. You'll also need to modify the VipsScaler extension which is used by Wikimedia (it's invoked via the BitmapHandlerTransform hook).

Task tags

  • php shell media

Students who completed this task

unicornisaurous

Task type

  • code Code
close

2015