View Single Post
  #2 (permalink)  
Old March 2nd, 2005, 02:59 PM
marcostraf marcostraf is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

VB does not have native access to bmp file, thus you have to use the standard API to read it. Actually, what you need is just the API definition of the bmp header file, then you can read the header, colormap (if present) and image data using the standard VB file access (Open, Get and Close). I had to do the same and is pretty easy. Look in the MSDN documentation for
BITMAPFILEHEADER and
BITMAPINFOHEADER
From there you can get the description of the bmp file
Good luck!
Marco
Reply With Quote