Скачать файл
Заказать новую работу
// Needed to avoid memory errorsnewBitMap = tempBitmap.Clone(new Rectangle(0, 0, tempBitmap.Width, tempBitmap.Height), PixelFormat.Format8bppIndexed).UnlockBits(bitData)
// Change colorsnewBitMap
newBitMap