resMode

Resampling mode. Selects the resampling and/or interpolation algorithm to be used 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 will yield 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

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

Default

attribute::ResMode

See also

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

On this page