ImgMetadataRemover/ImageCore/ICompressor.cs

14 lines
417 B
C#
Raw Normal View History

2022-01-22 17:06:10 +00:00
namespace Image
{
2022-01-23 17:30:05 +00:00
/// <summary>
/// ICompressor is an interface for implementing image compressors.
/// </summary>
2022-01-22 17:06:10 +00:00
public interface ICompressor
{
2022-01-23 17:30:05 +00:00
/// <summary>
/// The method compresses an image in place.
/// </summary>
/// <param name="fileName">The file name of the image to be compressed.</param>
2022-01-22 17:06:10 +00:00
public void Compress(string fileName);
}
}