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 save a bitmap

How to save a bitmap

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

    :confused:I've got an array containing the bitmap image. How do I save it to make a .bmp file? Gaurav Gumber

    M 1 Reply Last reply
    0
    • G gumber

      :confused:I've got an array containing the bitmap image. How do I save it to make a .bmp file? Gaurav Gumber

      M Offline
      M Offline
      MAAK
      wrote on last edited by
      #2

      The term "array containing the bitmap image" is very unspecific. -Does this bitmap array contains the pixel values only? Or contains the bitmap header as well? -If it doesn't containg the header, so do you know the it's width and height and what color depth is used? -Is the array bytes aligned to DWORD, i.e. padding zeros is added to the end of each horizontal scan to be divisible by 4? Give me these details and I could help you.

      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