Table of Contents

Class TiffReaderOptions

Namespace
Egami.Formats.Tiff
Assembly
Egami.dll

Options for reading TIFF.

public sealed record TiffReaderOptions : ReaderOptions, IEquatable<ReaderOptions>, IEquatable<TiffReaderOptions>
Inheritance
TiffReaderOptions
Implements
Inherited Members

Examples

// Pick another page by its index among the full-resolution pages.
using Raster<Rgba8> third = Raster.Load<Rgba8>("scan.tif", options: new TiffReaderOptions { Page = 2 });

Properties

IncludeReducedPages

Gets whether LoadAll also returns the reduced-resolution pages and SubIFD previews, each after the page it belongs to. Defaults to false: only full-resolution pages.

public bool IncludeReducedPages { get; init; }

Property Value

bool

Page

Gets the page Load returns, by its index among the full-resolution pages, or null (the default) for the first. Reduced-resolution pages and SubIFDs are never counted.

public int? Page { get; init; }

Property Value

int?