| SVG: $wgSVGMaxSize | |
|---|---|
| Don't scale a SVG larger than this unless its native size is larger. |
|
| Introduced in version: | 1.5.0 (r10961) |
| Removed in version: | still in use |
| Allowed values: | (integer) |
| Default value: | 2048 |
| Other settings: Alphabetical | By function | |
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.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.