2022-04-03 15:16:00 +00:00
|
|
|
|
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>
|
2022-04-03 15:16:00 +00:00
|
|
|
|
/// 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>
|
2022-04-03 15:16:00 +00:00
|
|
|
|
void SaveImage(string newFilePath);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Saves the image.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="stream">The stream.</param>
|
|
|
|
|
void SaveImage(Stream stream);
|
2022-02-12 21:25:34 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2022-04-02 14:22:42 +00:00
|
|
|
|
/// GetImagePath gets the current image path on the filesystem.
|
2022-02-12 21:25:34 +00:00
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>A string representing the absolute path.</returns>
|
|
|
|
|
string GetImagePath();
|
2022-01-23 13:12:17 +00:00
|
|
|
|
}
|
|
|
|
|
}
|