aboutsummaryrefslogtreecommitdiff
path: root/Emby.Drawing/ImageProcessor.cs
diff options
context:
space:
mode:
authorJesús Higueras <jesus@dabbleam.com>2020-03-23 20:05:49 +0100
committerVasily <just.one.man@yandex.ru>2020-05-18 23:21:37 +0300
commitb9fc0d26287e46017515e4ac3e569ca2c60f622f (patch)
tree7168d3272a2ead08c2cb6171d1d2f9dc794df262 /Emby.Drawing/ImageProcessor.cs
parent2d2c1d94733a1959f84c1cc26f8051d0be35cfb4 (diff)
Add BlurHash support to backend
Diffstat (limited to 'Emby.Drawing/ImageProcessor.cs')
-rw-r--r--Emby.Drawing/ImageProcessor.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Emby.Drawing/ImageProcessor.cs b/Emby.Drawing/ImageProcessor.cs
index 0b3bbe29e..1237b603b 100644
--- a/Emby.Drawing/ImageProcessor.cs
+++ b/Emby.Drawing/ImageProcessor.cs
@@ -314,6 +314,10 @@ namespace Emby.Drawing
=> _imageEncoder.GetImageSize(path);
/// <inheritdoc />
+ public string GetImageHash(string path)
+ => _imageEncoder.GetImageHash(path);
+
+ /// <inheritdoc />
public string GetImageCacheTag(BaseItem item, ItemImageInfo image)
=> (item.Path + image.DateModified.Ticks).GetMD5().ToString("N", CultureInfo.InvariantCulture);