TiffFrame Class

Represents a frame of a TIFF image.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public sealed class TiffFrame : Frame

Examples

The following code snippet demonstrates how to split a multiframe image file into separate JPEG files:

C#
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");
        }
    }
}

Inheritance Hierarchy

System.Object
L Aurigma.GraphicsMill.PipelineElement
L Aurigma.GraphicsMill.Codecs.Frame
L Aurigma.GraphicsMill.Codecs.TiffFrame

Thread Safety

Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.

See Also

Reference

Manual