using System; using System.Collections.Generic; using System.Text; using System.IO; namespace Orvid.Graphics.ImageFormats { /// /// This class represents any Image format, /// and should be the base type for all drivers. /// public abstract class ImageFormat { /// /// Save an image to the specified stream. /// /// The image to save. /// The Stream to write to. public abstract void Save(Image i, Stream dest); /// /// Load an image from the specified stream. /// /// The Stream to load from. /// The loaded Image. public abstract Image Load(Stream s); } }