ImgMetadataRemover/ImageCore/Core/NullCompressor.cs

23 lines
No EOL
496 B
C#

using System.IO;
namespace Image.Core
{
/// <summary>
/// Does nothing. Using this Compressor will have no effect.
/// </summary>
public class NullCompressor : ICompressor
{
public static readonly NullCompressor Instance = new NullCompressor();
/// <summary>
/// <inheritdoc />
/// </summary>
public void Compress(string fileName)
{
}
public void Compress(Stream stream)
{
}
}
}