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. Saving a BITMAP on disc

Saving a BITMAP on disc

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsquestion
5 Posts 5 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.
  • S Offline
    S Offline
    snir_ya
    wrote on last edited by
    #1

    Hi, I've got a BITMAP object that i want to save on the disc. Does anybody know how it can be done? Cheers in advance.

    H B T D 4 Replies Last reply
    0
    • S snir_ya

      Hi, I've got a BITMAP object that i want to save on the disc. Does anybody know how it can be done? Cheers in advance.

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      if you have a bitmap handle you can Attach this handle to CImage class and use from Save_**


      **_

      whitesky


      1 Reply Last reply
      0
      • S snir_ya

        Hi, I've got a BITMAP object that i want to save on the disc. Does anybody know how it can be done? Cheers in advance.

        B Offline
        B Offline
        bob16972
        wrote on last edited by
        #3

        A versatile approach for images would be to use the GDI+ Image class (or it's derived types Bitmap, Metafile) for all your imaging needs. Image::Save will save bitmaps to IStream or file.

        1 Reply Last reply
        0
        • S snir_ya

          Hi, I've got a BITMAP object that i want to save on the disc. Does anybody know how it can be done? Cheers in advance.

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          snir_ya wrote:

          Hi, I've got a BITMAP object that i want to save on the disc. Does anybody know how it can be done?

          http://www.codeproject.com/bitmap/drawing2bitmap.asp[^]

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

          1 Reply Last reply
          0
          • S snir_ya

            Hi, I've got a BITMAP object that i want to save on the disc. Does anybody know how it can be done? Cheers in advance.

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            See the example here and here.


            "Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

            "Judge not by the eye but by the heart." - Native American Proverb

            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