Table of Contents

Class Jbig2Format

Namespace
Egami.Formats.Jbig2
Assembly
Egami.dll

The JBIG2 bi-level format (ITU-T T.88), read only, registered in Default. Standalone files are detected by their header; the embedded form a PDF holds has none, so it loads only with the format named, as in Load(ReadOnlyMemory<byte>, FormatInfo, EgamiContext?, ReaderOptions?).

public static class Jbig2Format
Inheritance
Jbig2Format
Inherited Members

Examples

// A standalone .jb2 file is detected like any other format; each page loads as Gray8, black 0 and white 255.
using Raster first = Raster.Load("book.jb2");
using RasterList pages = Raster.LoadAll("book.jb2");
using Raster third = Raster.Load("book.jb2", options: new Jbig2ReaderOptions { Page = 2 });

Properties

Info

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

public static FormatInfo Info { get; }

Property Value

FormatInfo