Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -679,9 +679,17 @@ |
680 | 680 | $wgAllowTitlesInSVG = false; |
681 | 681 | |
682 | 682 | /** |
683 | | - * Don't thumbnail an image if it will use too much working memory. |
684 | | - * Default is 50 MB if decompressed to RGBA form, which corresponds to |
685 | | - * 12.5 million pixels or 3500x3500 |
| 683 | + * The maximum number of pixels a source image can have if it is to be scaled |
| 684 | + * down by a scaler that requires the full source image to be decompressed |
| 685 | + * and stored in decompressed form, before the thumbnail is generated. |
| 686 | + * |
| 687 | + * This provides a limit on memory usage for the decompression side of the |
| 688 | + * image scaler. The limit is used when scaling PNGs with any of the |
| 689 | + * built-in image scalers, such as ImageMagick or GD. It is ignored for |
| 690 | + * JPEGs with ImageMagick, and when using the VipsScaler extension. |
| 691 | + * |
| 692 | + * The default is 50 MB if decompressed to RGBA form, which corresponds to |
| 693 | + * 12.5 million pixels or 3500x3500. |
686 | 694 | */ |
687 | 695 | $wgMaxImageArea = 1.25e7; |
688 | 696 | /** |