mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-04 16:10:16 -04:00
24 lines
525 B
C#
24 lines
525 B
C#
using System.IO;
|
|
using Splat;
|
|
|
|
namespace ModernKeePassLib.Utility
|
|
{
|
|
public class GfxUtil
|
|
{
|
|
public static IBitmap LoadImage(byte[] pb)
|
|
{
|
|
return null;
|
|
//return ScaleImage(pb, null, null);
|
|
}
|
|
|
|
public static IBitmap ScaleImage(byte[] pb, int? w, int? h)
|
|
{
|
|
return null;
|
|
/*using (var ms = new MemoryStream(pb, false))
|
|
{
|
|
return BitmapLoader.Current.Load(ms, w, h).Result;
|
|
}*/
|
|
}
|
|
}
|
|
}
|