如何使用 C# 裁剪图像?
最佳答案
查看此链接:http://www.switchonthecode.com/tutorials/csharp-tutorial-image-editing-saving-cropping-and-resizing
private static Image cropImage(Image img, Rectangle cropArea)
{
Bitmap bmpImage = new Bitmap(img);
return bmpImage.Clone(cropArea, bmpImage.PixelFormat);
}
关于c# - 如何使用 C# 裁剪图像?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/734930/