Summary
Wrapper around a Bitmap that allows access to its raw byte data.
Constructors
|
Creates a new, blank BytesBitmap with the specified width, height, and pixel format.
|
Instance methods
void | | Disposes the underlying resources. |
Bitmap | |
Use this to create a new Bitmap that is a copy of the image stored in this
BytesBitmap. This can be passed around safely, unlike the wrapped bitmap
returned by BytesBitmap.Bitmap.
|
Instance properties
Bitmap | |
Gets the underlying Bitmap that this BytesBitmap wraps. USAGE WARNING:
DO NOT use this if the BytesBitmap wrapping it may have gone out of context
and disposed of. This will cause intermittent issues - when the BytesBitmap
gets GC'd. Use BytesBitmap.GetBitmapCopy() instead.
|
IntPtr | |
Gets a safe pointer to the buffer containing the bitmap bits.
|
byte[] | |
Gets an array that contains the bitmap bit buffer.
|
bool | | Specifies whether the underlying resources for this BytesBitmap have already been disposed. |
int | |
Gets the number of bits needed to store a pixel.
|
int | |
Gets the stride (the number of bytes to go one pixel down) of the bitmap.
|