70000251 Control of vdImage Interpolation method

Article 70000251
Type Wish
Product Engine
Version 7002
Date Added 1/19/2015
Fixed (1/19/2015)
Submitted by Yannis Makarounis

Summary

Need a property to control the image draw interpolation mode.

Solution

In version 7003.0.6 a new property InterpolationMode of vdImageDef was added.
Specifies the algorithm that is used when images are scaled.
Valid values are ImageBind.ImageInterpolationMode.Bilinear (Set the destination pixel color as mix of the surrounded pixels of the source pixel)
and ImageBind.ImageInterpolationMode.NearestNeighbor (Set the destination pixel color to the nearest source pixel)
Default value is ImageBind.ImageInterpolationMode.Bilinear

Send comments on this topic.