ImgMetadataRemover/ImageCore/Core/IMetadataRemover.cs

33 lines
920 B
C#
Raw Permalink 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>
/// Interface for implementing metadata removers.
/// </summary>
2022-01-23 13:12:17 +00:00
public interface IMetadataRemover
{
2022-01-23 17:30:05 +00:00
/// <summary>
/// Cleans an image.
/// </summary>
void CleanImage();
/// <summary>
/// Saves an image under a new file path.
2022-01-23 17:30:05 +00:00
/// </summary>
/// <param name="newFilePath">The file path to save the clean image.</param>
void SaveImage(string newFilePath);
/// <summary>
/// Saves the image.
/// </summary>
/// <param name="stream">The stream.</param>
void SaveImage(Stream stream);
/// <summary>
2022-04-02 14:22:42 +00:00
/// GetImagePath gets the current image path on the filesystem.
/// </summary>
/// <returns>A string representing the absolute path.</returns>
string GetImagePath();
2022-01-23 13:12:17 +00:00
}
}