tcc/ASP.NET/ImageHelper.cs

17 lines
361 B
C#
Raw Normal View History

2023-08-20 20:21:58 +00:00
using ImageMagick;
namespace tcc_app
{
public static class ImageHelper
{
2023-08-29 19:20:40 +00:00
public static byte[] SimpleImage;
public static byte[] BigImage;
2023-08-20 20:21:58 +00:00
static ImageHelper()
{
2023-09-01 18:14:54 +00:00
SimpleImage = File.ReadAllBytes("static/small-image.png");
BigImage = File.ReadAllBytes("static/big-image.png");
2023-08-20 20:21:58 +00:00
}
}
}