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. C / C++ / MFC
  4. How to write the BITMAPINFOHEADER

How to write the BITMAPINFOHEADER

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
3 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.
  • G Offline
    G Offline
    Guoguor
    wrote on last edited by
    #1

    Hello everyone! I want capture a picture from a playing file(the file is now playing at my display) it support 16-bit YUYV type. BITMAPINFOHEADER bih; the question is: How to write the parameters of bih? such as bih.biCompression, bih.biXPelsPerMeter, bih.biYPelsPerMeter, bih.biBitCount. Cause I'm a freshman,please explain in detail! Thanks! free like a bird

    G 1 Reply Last reply
    0
    • G Guoguor

      Hello everyone! I want capture a picture from a playing file(the file is now playing at my display) it support 16-bit YUYV type. BITMAPINFOHEADER bih; the question is: How to write the parameters of bih? such as bih.biCompression, bih.biXPelsPerMeter, bih.biYPelsPerMeter, bih.biBitCount. Cause I'm a freshman,please explain in detail! Thanks! free like a bird

      G Offline
      G Offline
      Guoguor
      wrote on last edited by
      #2

      go on the former question.......... Should I write the parameter bmiColors of BITMAPINFO? if need,how? And what's type it is? what's regulation should I must obey? Thanks! free like a bird

      S 1 Reply Last reply
      0
      • G Guoguor

        go on the former question.......... Should I write the parameter bmiColors of BITMAPINFO? if need,how? And what's type it is? what's regulation should I must obey? Thanks! free like a bird

        S Offline
        S Offline
        Sujan Christo
        wrote on last edited by
        #3

        Hi, Have a look @ this article http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/bitmaps_7zfp.asp[^] Sujan

        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