using System.Windows.Media.Imaging;

namespace InABox.WPF;

public class BytesToBitmapImageConverter : AbstractConverter<byte[]?, BitmapImage?>
{
    public override BitmapImage? Convert(byte[]? value)
        => ImageUtils.LoadImage(value);
}