Partager via


InterpolationHint

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
    Indicates that the default algorithm should be used.
  • InterpolationHintNearestNeighbor
    Indicates that point sampling should be used.
  • InterpolationHintBilinear
    Indicates that bilinear interpolation should be used.
  • InterpolationHintAveraging
    Indicates that 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
    Indicates that bicubic interpolation should be used

Requirements

Header imaging.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

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