/// <summary> /// Creates new instance. /// </summary> public static RawImage FromBitmap(Bitmap bmp) { return(new RawImage(Drawing.LoadBitmap(bmp), bmp.Width, bmp.Height)); }
/// <summary> /// Creates new instance. /// </summary> public static RawImage FromBitmap(Bitmap bmp, ImagePalette palette) { return(new RawImage(Drawing.LoadBitmap(bmp, palette), bmp.Width, bmp.Height)); }