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-09-11 02:14:21 +00:00
public static byte[] SimpleImage;
public static byte[] BigImage;
2023-08-20 20:21:58 +00:00
static ImageHelper()
{
2023-09-11 02:14:21 +00:00
SimpleImage = File.ReadAllBytes("static/small-image.png");
BigImage = File.ReadAllBytes("static/big-image.png");
2023-08-20 20:21:58 +00:00
}
}
}