xtd 0.2.0
Loading...
Searching...
No Matches

◆ interpolation_mode

The xtd::drawing::drawing_2d::interpolation_mode enumeration specifies the algorithm that is used when images are scaled or rotated.

Namespace
xtd::drawing::drawing_2d
Library
xtd.drawing
Enumerator
invalid 

Equivalent to the xtd::drawing::drawing_2d::quality_mode::invalid element of the xtd::drawing::drawing_2d::quality_mode enumeration.

default_value 

Specifies default mode.

low 

Specifies low quality interpolation.

hight 

Specifies high quality interpolation.

bilinear 

Specifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 50 percent of its original size.

bicubic 

Specifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 25 percent of its original size.

nearest_neighbor 

Specifies nearest-neighbor interpolation.

high_quality_bilinear 

Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking.

high_quality_bicubic 

Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images.