diff options
| author | David <daullmer@gmail.com> | 2020-06-14 12:49:43 +0200 |
|---|---|---|
| committer | David <daullmer@gmail.com> | 2020-06-14 12:49:43 +0200 |
| commit | 8a8bf4b6866e804c60baace62dbda9b690c5ece7 (patch) | |
| tree | 047d47638ba62138e6fe30a2eb22c3231b244e72 /MediaBrowser.Controller/Drawing/IImageProcessor.cs | |
| parent | fff3c789b98aad08f8ea66da275ff82c71dd8f2b (diff) | |
| parent | 0011e8df47380936742302ef40639a4626a780ed (diff) | |
Merge remote-tracking branch 'upstream/api-migration' into api-sessionservice
Diffstat (limited to 'MediaBrowser.Controller/Drawing/IImageProcessor.cs')
| -rw-r--r-- | MediaBrowser.Controller/Drawing/IImageProcessor.cs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/MediaBrowser.Controller/Drawing/IImageProcessor.cs b/MediaBrowser.Controller/Drawing/IImageProcessor.cs index 79399807f..8800fdf99 100644 --- a/MediaBrowser.Controller/Drawing/IImageProcessor.cs +++ b/MediaBrowser.Controller/Drawing/IImageProcessor.cs @@ -41,13 +41,11 @@ namespace MediaBrowser.Controller.Drawing ImageDimensions GetImageDimensions(BaseItem item, ItemImageInfo info); /// <summary> - /// Gets the dimensions of the image. + /// Gets the blurhash of the image. /// </summary> - /// <param name="item">The base item.</param> - /// <param name="info">The information.</param> - /// <param name="updateItem">Whether or not the item info should be updated.</param> - /// <returns>ImageDimensions</returns> - ImageDimensions GetImageDimensions(BaseItem item, ItemImageInfo info, bool updateItem); + /// <param name="path">Path to the image file.</param> + /// <returns>BlurHash</returns> + string GetImageBlurHash(string path); /// <summary> /// Gets the image cache tag. @@ -56,6 +54,7 @@ namespace MediaBrowser.Controller.Drawing /// <param name="image">The image.</param> /// <returns>Guid.</returns> string GetImageCacheTag(BaseItem item, ItemImageInfo image); + string GetImageCacheTag(BaseItem item, ChapterInfo info); /// <summary> |
