geboshi_V1/LeatherProject/LeatherApp/Utils/ImageUtil.cs
2024-03-07 14:03:22 +08:00

21 lines
398 B
C#

using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeatherApp.Utils
{
public class ImageUtil
{
public static Image buff2Image(byte[] ImgBuff)
{
return Image.FromStream(new MemoryStream(ImgBuff));
}
}
}