Manual:$wgJpegPixelFormat/pl
From Linux Web Expert
<translate> Thumbnail settings</translate>: $wgJpegPixelFormat | |
---|---|
Sets YUV chroma subsampling mode for JPEG thumbnails |
|
<translate> Introduced in version:</translate> | 1.27.0 (Gerrit change 285669; git #a30bc4f7) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | 'yuv420' , 'yuv422' , 'yuv444' , false |
<translate> Default value:</translate> | 'yuv420' |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Szczegóły
At default setting of 'yuv420', JPEG thumbnails will use 4:2:0 chroma subsampling to reduce file size, at the cost of possible color fringing at sharp edges. This is usually not noticeable with photographic images, but can cause visible artifacts at sharp red and blue edges.
Supported values:
- false - use scaling system's default (same as pre-1.27 behavior)
- 'yuv444' - luma and chroma at same resolution
- 'yuv422' - chroma at 1/2 resolution horizontally, full vertically
- 'yuv420' - chroma at 1/2 resolution in both dimensions
This setting is currently supported only for the ImageMagick backend; others may default to 4:2:0 or 4:4:4 or maintaining the source file's sampling in the thumbnail.
Powiązane ustawienia
Currently only supported alongside Podręcznik:$wgUseImageMagick . Other thumbnailing backends will use whatever their default is.