<PackageReference Include="System.Drawing.Common" Version="8.0.2" />

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 } }