|
|
|
@ -3,13 +3,13 @@ using System.Collections.Generic;
|
|
|
|
|
using MediaBrowser.Controller.Drawing;
|
|
|
|
|
using MediaBrowser.Model.Drawing;
|
|
|
|
|
|
|
|
|
|
namespace Jellyfin.Drawing
|
|
|
|
|
namespace Jellyfin.Drawing;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A fallback implementation of <see cref="IImageEncoder" />.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class NullImageEncoder : IImageEncoder
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A fallback implementation of <see cref="IImageEncoder" />.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class NullImageEncoder : IImageEncoder
|
|
|
|
|
{
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
public IReadOnlyCollection<string> SupportedInputFormats
|
|
|
|
|
=> new HashSet<string>(StringComparer.OrdinalIgnoreCase) { "png", "jpeg", "jpg" };
|
|
|
|
@ -54,5 +54,4 @@ namespace Jellyfin.Drawing
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|