using Minint.Core.Models;
namespace Minint.Core.Services;
public interface IImageEffectService
{
///
/// Adjusts contrast of the document by modifying palette colors.
/// > 1 increases contrast, < 1 decreases.
/// Index 0 (transparent) is not modified.
///
void AdjustContrast(MinintDocument document, float factor);
///
/// Converts the document to grayscale by modifying palette colors.
/// Uses ITU-R BT.601 luminance: gray = 0.299R + 0.587G + 0.114B.
/// Index 0 (transparent) is not modified.
///
void ToGrayscale(MinintDocument document);
}