Class CcittFormat
Raw CCITT fax data (ITU-T T.4 and T.6) as an image, read only. The data has no header, so detection never picks it: load it with the format named and its parameters in CcittReaderOptions, as in Load(ReadOnlyMemory<byte>, FormatInfo, EgamiContext?, ReaderOptions?). It loads as Gray8, black 0 and white 255, whatever BlackIs1 says. It is registered in Default so a context lists it.
public static class CcittFormat
- Inheritance
-
CcittFormat
- Inherited Members
Examples
// The same data as an image: Gray8, black 0 and white 255. The data has no header, so name the format.
CcittReaderOptions options = new() { Parameters = new CcittFaxParameters { K = -1, EncodedByteAlign = true, Columns = 301, Rows = 48 } };
using Raster image = Raster.Load(stream, CcittFormat.Info, options: options);
Properties
Info
Gets the format's registration: name, MIME type and reader. It has no signature and no writer.
public static FormatInfo Info { get; }