ImgMetadataRemover/ImageCore/Core/NullCompressor.cs

23 lines
496 B
C#
Raw Normal View History

using System.IO;
namespace Image.Core
2022-01-23 13:12:17 +00:00
{
2022-01-23 17:30:05 +00:00
/// <summary>
/// Does nothing. Using this Compressor will have no effect.
/// </summary>
2022-01-23 13:12:17 +00:00
public class NullCompressor : ICompressor
{
2022-01-27 21:22:10 +00:00
public static readonly NullCompressor Instance = new NullCompressor();
2022-01-23 17:30:05 +00:00
/// <summary>
/// <inheritdoc />
/// </summary>
2022-01-23 13:12:17 +00:00
public void Compress(string fileName)
{
}
public void Compress(Stream stream)
{
}
2022-01-23 13:12:17 +00:00
}
}