Switched to ThumbHasher over BlurHasher
This commit is contained in:
10
Shared/Models/Methods/IThumbHasher.cs
Normal file
10
Shared/Models/Methods/IThumbHasher.cs
Normal 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);
|
||||
|
||||
}
|
Reference in New Issue
Block a user