AspJpeg supports three popular image resizing algorithms: **Nearest-Neighbor**,
**Bilinear** and **Bicubic**.
The Nearest-Neighbor algorithm is the fastest of the three, but produces relatively low-quality thumbnails.
The Bilinear algorithm offers a much better quality but is about twice as slow
as Nearest-Neighbor. And finally, the Bicubic algorithm provides the highest
quality but is approximately twice as slow as Bilinear and, therefore,
4 times as slow as Nearest-Neighbor.

A resizing algorithm for your thumbnails can be specified
via the property **Jpeg.Interpolation**. Valid values for this property are: 0 (Nearest-Neighbor),
1 (Bilinear), and 2 (Bicubic). The default value is 1 (Bilinear).
For this property to take effect, it must be set before calling **Save**, **SendBinary** or **Binary**.

The following table illustrates the effect of setting the Interpolation property.
Notice how much smoother the thumbnails produced by the Bilinear and Bicubic algorithms are
in comparison to Nearest-Neighbor. Notice also that
in many cases (such as this one) Bicubic provides
little, if any, improvement over Bilinear.