R
RicercatoreSbadato
===========
INTRODUCTION:
===========
I'd like to take only a part of a Bitmap. I'm workin in unsafe mode with
the pointers:
unsafe
{
byte * p_init = (byte *)(void *)Scan0;
byte * p_I = <pointer a pixel of the current Bitmap>;
Bitmap bmp = new Bitmap(width, height, IMG_stride,
PixelFormat.Format8bppIndexed,
*p_I);
}
===========
THE PROBLEM:
===========
It seems that p_I isn't a valid System.IntPtr . Help me pls to take a
Bitmap from the whole Bitmap...
INTRODUCTION:
===========
I'd like to take only a part of a Bitmap. I'm workin in unsafe mode with
the pointers:
unsafe
{
byte * p_init = (byte *)(void *)Scan0;
byte * p_I = <pointer a pixel of the current Bitmap>;
Bitmap bmp = new Bitmap(width, height, IMG_stride,
PixelFormat.Format8bppIndexed,
*p_I);
}
===========
THE PROBLEM:
===========
It seems that p_I isn't a valid System.IntPtr . Help me pls to take a
Bitmap from the whole Bitmap...