? =?ISO-8859-2?Q?Marcin_Grz=EAbski?= Aug 29, 2003 #2 Is there a function of program to convert a .bmp into arrays? Could you specify what do you want to do? Do you mean array of colors (pixels) or what? Marcin
Is there a function of program to convert a .bmp into arrays? Could you specify what do you want to do? Do you mean array of colors (pixels) or what? Marcin
? =?ISO-8859-2?Q?Marcin_Grz=EAbski?= Aug 29, 2003 #4 RGB pixel data, also something to get header info thx Click to expand... Look in docs at: "System.Drawing.Bitmap" - Size, PixelFormat, RawFormat, GetPixel(...), SetPixel(...) "System.Drawing.Color" - R, G, B, A, FromArgb(...), ToArgb(...) For unsafe coding look at: "Bitmap" - LockBits(...), UnlockBits(...) "BitmapData" - Scan0, Regards Marcin
RGB pixel data, also something to get header info thx Click to expand... Look in docs at: "System.Drawing.Bitmap" - Size, PixelFormat, RawFormat, GetPixel(...), SetPixel(...) "System.Drawing.Color" - R, G, B, A, FromArgb(...), ToArgb(...) For unsafe coding look at: "Bitmap" - LockBits(...), UnlockBits(...) "BitmapData" - Scan0, Regards Marcin