You can get a rough estimate of the size of a bitmap:
Bytes = Width * height * (BitsPerPixel / 8)
But that won't be exact: a Bitmap file contains framing and other information (such as palettes, width and height infor) which also occupies space. A bitmap object also has other members which also use memory space.
It'll be about right for the data if you just get it as raw bytes:
MemoryStream ms = new MemoryStream();
imageIn.Save(ms,System.Drawing.Imaging.ImageFormat.Bmp);
byte[] rawData = ms.ToArray();
Dim ms As New MemoryStream()
imageIn.Save(ms, System.Drawing.Imaging.ImageFormat.Bmp)
Dim rawData As Byte() = ms.ToArray()