Wraps some image data that has been uploaded into a Buffer as a Bitmap.
The data is not copied in this process.
buffer |
A Buffer containing image data |
format |
The PixelFormat defining the format of the image data in the given |
width |
The width of the image data in the given |
height |
The height of the image data in the given |
rowstride |
The rowstride in bytes of the image data in the given |
offset |
The offset into the given |
a Bitmap encapsulating the given |