feat: partially handle SVG files and remove exceptions from blurhash and dimensions

This commit is contained in:
cvium
2022-06-16 12:22:46 +02:00
parent fd4ffc6ba3
commit 3491f0968b
6 changed files with 92 additions and 62 deletions

View File

@@ -50,6 +50,14 @@ namespace MediaBrowser.Controller.Drawing
/// <returns>BlurHash.</returns>
string GetImageBlurHash(string path);
/// <summary>
/// Gets the blurhash of the image.
/// </summary>
/// <param name="path">Path to the image file.</param>
/// <param name="imageDimensions">The image dimensions.</param>
/// <returns>BlurHash.</returns>
string GetImageBlurHash(string path, ImageDimensions imageDimensions);
/// <summary>
/// Gets the image cache tag.
/// </summary>