Share via


InterpolationHint (Compact 2013)

3/26/2014

This feature is being deprecated for this release. Refer to this component: Windows Imaging Component.

This enumeration provides values that identify algorithms used to interpolate pixel values during resizing and rotation operations.

Syntax

enum InterpolationHint {
  InterpolationHintDefault,
  InterpolationHintNearestNeighbor,
  InterpolationHintBilinear,
  InterpolationHintAveraging,
  InterpolationHintBicubic
};

Elements

  • InterpolationHintDefault
    The default algorithm should be used.
  • InterpolationHintNearestNeighbor
    Point sampling should be used.
  • InterpolationHintBilinear
    Bilinear interpolation should be used.
  • InterpolationHintAveraging
    Area averaging should be used when scaling down, and that bilinear interpolation should be used when scaling up.

    This value is good for generating small thumbnail images.

  • InterpolationHintBicubic
    Bicubic interpolation should be used

Requirements

Header

imaging.h

See Also

Reference

Imaging Enumerations
IBasicBitmapOps::Resize
IBasicBitmapOps::Rotate
IImagingFactory::CreateBitmapFromImage