Helper class to lock a bitmap and access pixels values in a fast way. From http://www.codeproject.com/Tips/240428/Work-with-bitmap-faster-with-Csharp
More...
Helper class to lock a bitmap and access pixels values in a fast way. From http://www.codeproject.com/Tips/240428/Work-with-bitmap-faster-with-Csharp
ICSV.Server.Images.LockBitmap.LockBitmap |
( |
Bitmap |
source | ) |
|
Color ICSV.Server.Images.LockBitmap.GetPixel |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Get the color of the specified pixel
- Parameters
-
- Returns
void ICSV.Server.Images.LockBitmap.LockBits |
( |
| ) |
|
void ICSV.Server.Images.LockBitmap.SetPixel |
( |
int |
x, |
|
|
int |
y, |
|
|
Color |
color |
|
) |
| |
Set the color of the specified pixel
- Parameters
-
void ICSV.Server.Images.LockBitmap.UnlockBits |
( |
bool |
copyData | ) |
|
int ICSV.Server.Images.LockBitmap.Depth |
|
get |
int ICSV.Server.Images.LockBitmap.Height |
|
get |
byte [] ICSV.Server.Images.LockBitmap.Pixels |
|
getset |
int ICSV.Server.Images.LockBitmap.Step |
|
get |
int ICSV.Server.Images.LockBitmap.Width |
|
get |