Bmp class
Namespace: Arlecchino.Pictures.Formats.Bmp · Assembly: Arlecchino.Pictures
Reads a Windows bitmap. The rows stand bottom to top unless the height is negative, the colors are written blue first, and the rows come either plainly or run-length encoded.
public sealed class Bmp : IPictureFormat
Implements IPictureFormat
Constructors
| Member | Summary |
|---|---|
Bmp() |
Properties
| Member | Summary |
|---|---|
Name |
Methods
| Member | Summary |
|---|---|
Read(ReadOnlySpan<byte>, PictureLimits) | |
Starts(ReadOnlySpan<byte>) |
Constructors in detail
Bmp()
public Bmp();
Properties in detail
Name
public string Name { get; }
Type string
Methods in detail
Read(ReadOnlySpan<byte>, PictureLimits)
public Raster? Read(ReadOnlySpan<byte> bytes, PictureLimits limits);
Parameters
| Name | Type | Description |
|---|---|---|
bytes | ReadOnlySpan<T><byte> | |
limits | PictureLimits |
Returns Raster
Starts(ReadOnlySpan<byte>)
public bool Starts(ReadOnlySpan<byte> bytes);
Parameters
| Name | Type | Description |
|---|---|---|
bytes | ReadOnlySpan<T><byte> |
Returns bool