tcc/ASP.NET/ImageHelper.cs

17 lines
361 B
C#

using ImageMagick;
namespace tcc_app
{
public static class ImageHelper
{
public static byte[] SimpleImage;
public static byte[] BigImage;
static ImageHelper()
{
SimpleImage = File.ReadAllBytes("static/small-image.png");
BigImage = File.ReadAllBytes("static/big-image.png");
}
}
}