Skip to main content
All docs
V25.1
  • PdfImageCompressionOptions.InterpolationMode Property

    Gets or sets the interpolation mode associated with the DXGraphics object.

    Namespace: DevExpress.Pdf

    Assembly: DevExpress.Pdf.v25.1.Core.dll

    NuGet Package: DevExpress.Pdf.Core

    Declaration

    public DXInterpolationMode InterpolationMode { get; set; }

    Property Value

    Type Description
    DXInterpolationMode

    Indicates how to calculate intermediate values between two endpoints.

    Available values:

    Name Description
    Invalid

    Invalid mode.

    Default

    Default mode.

    Low

    Low quality interpolation.

    High

    High quality interpolation.

    Bilinear

    Bilinear interpolation. No pre-filter. This mode is not suitable for shrinking an image below 50 percent of its original size.

    Bicubic

    Bicubic interpolation. No pre-filter. This mode is not suitable for shrinking an image below 25 percent of its original size.

    NearestNeighbor

    Nearest-neighbor interpolation.

    HighQualityBilinear

    High-quality, bilinear interpolation. Pre-filter is applied to ensure high-quality shrinking.

    HighQualityBicubic

    High-quality bicubic interpolation. Pre-filter is applied to ensure high-quality shrinking. This mode produces the highest quality transformed images.

    See Also