Represents a frame of a TIFF image.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public sealed class TiffFrame : Frame
The following code snippet demonstrates how to split a multiframe image file into separate JPEG files:
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"); } } }