How to save CDC content to a Bitmap file
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
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