Interface IMediaConverter
Defines the interface that all converters must implement
Inherited Members
Namespace: ImageVault.Core.Common.Conversion
Assembly: ImageVault.Core.dll
Syntax
[Obsolete("Use IMediaConverter2 or IMediaConverterBase instead")]
public interface IMediaConverter : IMediaConverterBase, ICorePlugin
Remarks
Old definition for Media converters. Inherit IMediaConverter2 or IMediaConverterBase when implementing a new converter 2011-02-18 dan: Created
Methods
CalculateContentType(DbMediaItem, MediaFormatBase)
Calculates the output contenttype by the supplied format
Declaration
string CalculateContentType(DbMediaItem mediaItem, MediaFormatBase format)
Parameters
Type | Name | Description |
---|---|---|
DbMediaItem | mediaItem | |
MediaFormatBase | format |
Returns
Type | Description |
---|---|
System.String |
CalculateMediaName(DbMediaItem, MediaFormatBase)
Calculates the name of the media for the given conversion
Declaration
string CalculateMediaName(DbMediaItem mediaItem, MediaFormatBase format)
Parameters
Type | Name | Description |
---|---|---|
DbMediaItem | mediaItem | |
MediaFormatBase | format |
Returns
Type | Description |
---|---|
System.String |