Enum IGDIPlus.TGPInterpolationMode
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Contents |
Syntax
Delphi:
type TGPInterpolationMode = (InterpolationModeInvalid, Ord, QualityModeInvalid, InterpolationModeDefault, Ord, QualityModeDefault, InterpolationModeLowQuality, Ord, QualityModeLow, InterpolationModeHighQuality, Ord, QualityModeHigh, InterpolationModeBilinear, InterpolationModeBicubic, InterpolationModeNearestNeighbor, InterpolationModeHighQualityBilinear, InterpolationModeHighQualityBicubic);
C++ Builder:
enum TGPInterpolationMode {InterpolationModeInvalid, Ord, QualityModeInvalid, InterpolationModeDefault, Ord, QualityModeDefault, InterpolationModeLowQuality, Ord, QualityModeLow, InterpolationModeHighQuality, Ord, QualityModeHigh, InterpolationModeBilinear, InterpolationModeBicubic, InterpolationModeNearestNeighbor, InterpolationModeHighQualityBilinear, InterpolationModeHighQualityBicubic};
Visual C++ (MFC):
enum CTGPInterpolationMode {InterpolationModeInvalid, Ord, QualityModeInvalid, InterpolationModeDefault, Ord, QualityModeDefault, InterpolationModeLowQuality, Ord, QualityModeLow, InterpolationModeHighQuality, Ord, QualityModeHigh, InterpolationModeBilinear, InterpolationModeBicubic, InterpolationModeNearestNeighbor, InterpolationModeHighQualityBilinear, InterpolationModeHighQualityBicubic};
Summary
Specifies the algorithm that is used when images are scaled or rotated.
Description
The TGPInterpolationMode enumeration specifies the algorithm that is used when images are scaled or rotated. This enumeration is used by the IGPGraphics.GetInterpolationMode and IGPGraphics.SetInterpolationMode methods of the IGPGraphics class.
Values
InterpolationModeInvalid | Used internally. |
Ord | |
QualityModeInvalid | |
InterpolationModeDefault | Specifies the default interpolation mode. |
Ord | |
QualityModeDefault | |
InterpolationModeLowQuality | Specifies a low-quality mode. |
Ord | |
QualityModeLow | |
InterpolationModeHighQuality | Specifies a high-quality mode. |
Ord | |
QualityModeHigh | |
InterpolationModeBilinear | Specifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 50 percent of its original size. |
InterpolationModeBicubic | Specifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 25 percent of its original size. |
InterpolationModeNearestNeighbor | Specifies nearest-neighbor interpolation. |
InterpolationModeHighQualityBilinear | Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking. |
InterpolationModeHighQualityBicubic | Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images. |