DsPdfJS API - v9.1.0
    Preparing search index...

    Enumeration InterpolationMode

    Specifies the sampling or filtering mode to use when scaling an image.

    Index

    Enumeration Members

    Cubic: 2

    Destination pixel values are computed as a weighted average of the nearest sixteen pixels in a 4x4 grid.

    Downscale: 3

    Destination pixel values are computed as a weighted average of the all the pixels that map to the new pixel.

    Linear: 1

    The output pixel values are computed as a weighted average of the nearest four pixels in a 2x2 grid.

    NearestNeighbor: 0

    The output pixel is assigned the value of the pixel that the point falls within. No other pixels are considered.