using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media.Imaging;
namespace BackgroundBuilder.Services
{
public interface IImageService
{
///
/// Loads an image from disk.
///
Task LoadAsync(string path);
///
/// Renders the background + overlay and writes two PNGs:
/// • primaryPath: composite of background+overlay
/// • overlayPath (optional): overlay alone
/// Returns the actual paths written.
///
Task SaveAsync(
FrameworkElement overlay,
BitmapImage background,
string primaryPath,
string? overlayPath = null);
}
}