Represents a base class for all image frames.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public class Frame : PipelineElement, IImageParams
In general, frames store the following information:
These data are read from file only once. After you read some property, it is cached and next time it returns pre-loaded data.
using (var reader = new TiffReader(@"Images\in.tif")) { for (int i = 0; i < reader.Frames.Count; i++) { using (var bitmap = reader.Frames[i].GetBitmap()) { bitmap.Save(@"Images\Output\frame_" + i.ToString() + ".jpg"); } } }