<PackageReference Include="System.Drawing.Common" Version="9.0.0-preview.7.24405.4" />

InterpolationMode

public enum InterpolationMode
The InterpolationMode enumeration specifies the algorithm that is used when images are scaled or rotated.
namespace System.Drawing.Drawing2D { public enum InterpolationMode { Invalid = -1, Default, Low, High, Bilinear, Bicubic, NearestNeighbor, HighQualityBilinear, HighQualityBicubic } }