mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Implemented MaxDownloadableUserImageSize config setting
This commit is contained in:
@@ -13,7 +13,6 @@ public static class ImageHelper
|
||||
{
|
||||
public static string ResizeAndConvertToBase64(byte[] imageBytes, int size = 32)
|
||||
{
|
||||
size = Math.Min(size, 256);
|
||||
using var inputStream = new MemoryStream(imageBytes);
|
||||
using var image = Image.Load(inputStream);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user