Switched to ThumbHasher over BlurHasher

This commit is contained in:
2023-05-21 23:56:10 -07:00
parent 514637b9c6
commit a0c880c7ba
26 changed files with 803 additions and 121 deletions

View File

@ -0,0 +1,10 @@
namespace View_by_Distance.Shared.Models.Methods;
public interface IThumbHasher
{
byte[] Encode(string path);
(byte[], MemoryStream) EncodeAndSave(string path, int width, int height);
MemoryStream GetMemoryStream(byte[] thumbHashBytes, int width, int height);
}