using System.IO; namespace Image.Core { /// /// ICompressor is an interface for implementing image compressors. /// public interface ICompressor { /// /// The method compresses an image in place. /// /// The file name of the image to be compressed. void Compress(string fileName); /// /// The method compresses an image in place. /// /// The stream of the image to be compressed. void Compress(Stream stream); } }