Converts the data inside this buffer into a RasterImage.
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.