Interface IMediaImageConverter
Interface IMediaImageConverter.
Namespace: MediaBrowser.Controller.MediaEncoding
Assembly: MediaBrowser.Controller.dll
Syntax
public interface IMediaImageConverter
Methods
ConvertImage(String, String)
Converts an image via ffmpeg based on file extension.
Declaration
Task ConvertImage(string inputPath, string outputPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | inputPath | The input path. |
System.String | outputPath | The output path. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A Task. |
SupportsEncoder(ReadOnlySpan<Char>)
Allows checking for a specific ffmpeg encoder.
Declaration
bool SupportsEncoder(ReadOnlySpan<char> encoder)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlySpan<System.Char> | encoder | The encoder name. |
Returns
Type | Description |
---|---|
System.Boolean | A value indicating whether the specified encoder is available. |