Table of Contents

Class TiffFormat

Namespace
Egami.Formats.Tiff
Assembly
Egami.dll

The TIFF format, registered in Default.

public static class TiffFormat
Inheritance
TiffFormat
Inherited Members

Examples

// Load reads the first full-resolution page in the pixel type that fits it: Rgb16 for 16-bit color, Cmyk8 for CMYK.
using Raster page = Raster.Load("scan.tif");
Console.WriteLine($"{page.Width} × {page.Height}, {page.Layout.ChannelOrder} {page.Layout.ChannelType}");

// Probe says how many pages LoadAll would return, without decoding any.
Console.WriteLine($"{Raster.Probe("scan.tif").ImageCount} pages");

Properties

Info

Gets the format's registration: name, MIME type, extensions, signature, reader and writer.

public static FormatInfo Info { get; }

Property Value

FormatInfo