Fix compilazione: rimozione classe utils (non necessaria)

This commit is contained in:
Samuele Locatelli
2023-05-22 18:03:30 +02:00
parent 1f9923ff8f
commit 5940e1262d
-21
View File
@@ -1,21 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Net.Mime.MediaTypeNames;
namespace WebDoorCreator.Core
{
public class Utils
{
public static byte[] ImageToByte2(Image img)
{
using (var stream = new MemoryStream())
{
img.Save(stream, System.Drawing.Imaging.ImageFormat.Png);
return stream.ToArray();
}
}
}
}