Jump to content

Handbuch:$wgSVGMaxSize

From mediawiki.org
This page is a translated version of the page Manual:$wgSVGMaxSize and the translation is 43% complete.
SVG: $wgSVGMaxSize
Don't scale a SVG larger than this unless its native size is larger.
Eingeführt in Version:1.5.0 (r10961)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Ganzzahl)
Standardwert:2048

Details

The smaller side of a SVG will never be scaled to greater than this.

For example, if this setting is left unchanged at 2048 pixels, an attempt to rasterize a 200×100 SVG to 4000×2000 will succeed (since 2000 ≤ 2048). However, an attempt to rasterize it to 5000×2500 will generate a 4096×2048 image instead.