Jump to content

Manual:$wgJpegQuality

From mediawiki.org
Images: $wgJpegQuality
When scaling a JPEG thumbnail, this is the quality we request from the backend.
Introduced in version:1.32.0 (Gerrit change 427707; git #I94cad01)
Removed in version:Still in use
Allowed values:(number)
Default value:80

Details

[edit]

Values between 1 and 100 are permissive.

The quality of JPEG thumbnails is now configurable through this setting. The default is 80, which matches the quality of JPEG thumbnails previously generated by ImageMagick. The quality of JPEG thumbnails generated by GD was previously 95, but now uses this setting as well.