troubleshooting Question

How to convert an EMF to BMP?

Avatar of a_pravarakhya
a_pravarakhya asked on
25 Comments1 Solution817 ViewsLast Modified:
I am trying to convert an emf to bmp. I have got the solution but I think it is an indirect way.

Iam playing the emf to a window and saving the window contents to a bitmap using the WriteWindowToDIB() function. I do not want the window to be shown so I have tried playing emf to memory DC but it failed.

I have also tried with CMetafileDC but I am not able to blit its contents to Bitmap.

Does any body has any idea to avoid a window and create a bitmap out of it? or is it possible to convert the emf to bmp in any other way?

I have been searching this for a long time on the Net but no solution



Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 25 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 25 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros