On Sat, Dec 25, 2010 at 4:17 AM, Thomas Larsen
<[email protected]> wrote:
> (2) a working animation (albeit scaled on the client's side, which is
> not ideal) for animations where #px is greater than or equal to the
> original dimensions.
Files are only downscaled server-side, not upscaled. I imagine this
is a feature, not a bug. The relevant code is in
includes/media/Bitmap.php:
# Don't make an image bigger than the source
$params['physicalWidth'] = $params['width'];
$params['physicalHeight'] = $params['height'];
if ( $params['physicalWidth'] >= $srcWidth ) {
$params['physicalWidth'] = $srcWidth;
$params['physicalHeight'] = $srcHeight;
return true;
}
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l