public GcBnrState() { _bnr = new GcBnr(); EncodingDefinition = new EncodingDefinition(); EncodingDefinition.AddColorEncoding(0, new Rgba(5, 5, 5, 1, "ABGR", ByteOrder.BigEndian)); }
public BitmapKanvasImage(Bitmap image) { var encoding = GetImageEncoding(image); EncodingDefinition = new EncodingDefinition(); EncodingDefinition.AddColorEncoding(0, encoding); BitDepth = encoding.BitDepth; _image = image; }