Class WbmpFormat
WBMP, the Wireless Application Protocol's one-bit bitmap, type 0: a type and a header byte, the width and height as WAP multi-byte integers, then rows of bits, white 1 and black 0. Registered with WithWbmp(EgamiContext).
public static class WbmpFormat
- Inheritance
-
WbmpFormat
- Inherited Members
Examples
// One format at a time: each has its own method and its own FormatInfo.
EgamiContext context = EgamiContext.Default.WithSgi().WithSunRaster();
using (FileStream output = File.Create("duck.sgi"))
{
image.Save(output, SgiFormat.Info);
}
RasterInfo info = Raster.Probe("duck.sgi", context);
Console.WriteLine($"{info.Format.Name} {info.Width}×{info.Height} {info.Layout.ChannelOrder}");
Properties
Info
Gets the format's registration: name, MIME type, extension, signature, reader and writer.
public static FormatInfo Info { get; }