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 CDC content to a Bitmap file

How to save CDC content to a Bitmap file

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsc++designperformancetutorial
1 Posts 1 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.
  • J Offline
    J Offline
    JHAKAS
    wrote on last edited by
    #1

    Hello I am working on a MFC SDI application. On My one of the menu i am drawing something with the CDC which is Memory dc and is drawing in a bitmap. Above mentioned CDC MemDC is global. Now on Save I am having two Options save content of CDC to JPEG and save as BMP. Well I am using implementation fo ImageHandler (from Codeguru) so it works fine. With JPEG saving. It does uses the CDC for putting into JPEG image. Now with BMP saving, previously i was using CDibSectionLite (from Codeguru) using the above Bitmap. I want to use CDC instead because of change in the design. Is there any other way to save content of DC directly to the Bitmap file Thanks in advance. Sandeep Leave your mark wherever you go

    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