resMode resmode

Resampling mode. Selects the resampling and/or interpolation algorithm to use for scaling the rendered image to the size specified with wid=, hei=, or scl=.

``resMode=bilin|bicub|sharp2|bisharp``

bilin
Selects standard bilinear interpolation. Fastest resampling method; some aliasing artifacts may be noticeable.
bicub
Selects bicubic interpolation. More CPU-intensive than bilinear interpolation, but yields sharper images with less noticeable aliasing artifacts.
sharp2

Selects a modified Lanczos Window function as an interpolation algorithm. May produce slightly sharper results than bicubic at a higher CPU cost.

sharp has been replaced by sharp2 , which has a lesser likelihood of causing aliasing artifacts, also known as Moiré.

bisharp
Selects the Adobe Photoshop default resampler for reducing image size which is called "bicubic sharper" in Adobe Photoshop .

Properties section-ea7029f37e094d9cb85646b85fbac0ce

May occur anywhere within the request. Ignored if no final image scaling is applied.

Default section-900872fb93dc41efb3e8ad5b62aadc38

attribute::ResMode

See also section-16c557a2250e4f04b3e6cbef18add9ce

attribute::ResMode , wid=, hei=, scl=

recommendation-more-help
a26166cd-f2f4-45ce-996d-96a0f0d6cf49