The RasterImage returned will have the same width, height, color order and bits per pixel specified in Width, Height, Order and BitsPerPixel.
The image data are copied into the RasterImage.
You can use this method to quickly convert a Windows Runtime WriteableBitmap or HTML ImageData to a LEADTOOLS RasterImage object.