InterpolationMode HighQualityBicubic introducing artefacts on edge of resized images

前端 未结 3 1709
心在旅途
心在旅途 2021-01-11 18:13

Using some pretty stock standard C# code to resize an image, and place it on a coloured background

Image imgToResize = Image.FromFile(@\"Dejeuner.jpg\");
Siz         


        
3条回答
  •  天涯浪人
    2021-01-11 18:33

    Set the PixelOffsetMode property to HighQuality to get a better blend with the background at the edges.

提交回复
热议问题