Class PcxFormat
PCX, ZSoft's PC Paintbrush format: a 128-byte header, then run-length coded scanlines of one to four color planes. Registered with WithPcx(EgamiContext).
public static class PcxFormat
- Inheritance
-
PcxFormat
- 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 types, extension, signature, reader and writer.
public static FormatInfo Info { get; }