|
|
От: |
visitant
|
|
| Дата: | 23.08.02 09:45 | ||
| Оценка: | |||
Bitmap* bmp = new Bitmap(wPath);
BitmapData* bmpData = new BitmapData;
Rect rect(0, 0, bmp->GetWidth(), bmp->GetHeight());
bmp->LockBits(&rect, ImageLockModeRead, PixelFormat1bppIndexed, bmpData);
PBYTE pixels = (PBYTE)bmpData->Scan0;Bitmap::Bitmap(width, height, format)pixels