Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. how can i add header to raw bitmap data?

how can i add header to raw bitmap data?

Scheduled Pinned Locked Moved Visual Basic
questiongraphicshelptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zecodela
    wrote on last edited by
    #1

    hi all, i am writing a program to capture image from quickcam start from video for window. i have been already able to read a frame of data by capSetCallbackOnFrame(). however, i don't know how to add the bitmap header and other neccessaries to make standard bitmap file. would anyone help me? thanks, jim

    P 1 Reply Last reply
    0
    • Z zecodela

      hi all, i am writing a program to capture image from quickcam start from video for window. i have been already able to read a frame of data by capSetCallbackOnFrame(). however, i don't know how to add the bitmap header and other neccessaries to make standard bitmap file. would anyone help me? thanks, jim

      P Offline
      P Offline
      Paul M Watt
      wrote on last edited by
      #2

      You will need to get the type definitions that are defined in the Windows API from the APIViewer program and include them in your program. You will Need the BITMAPINFO structure. And the BITMAPINFOHEADER. Look at MSDN to see how to fill both of these structures.


      Build a man a fire, and he will be warm for a day
      Light a man on fire, and he will be warm for the rest of his life!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups