using FrameProcessor.Domain;

namespace FrameProcessor.ImagePipeline;

/// <summary>
/// Converts an arbitrary input image into the indexed-PNG bytes a frame's firmware
/// expects: resized to the frame's resolution, dithered against the frame's display
/// palette, then remapped to the device-color palette.
/// </summary>
public interface IImagePipeline
{
    byte[] Process(Stream input, Frame frame);
}
