You are here:

C++/How to export GDI+ bmp Image as EPS File Format


I created bmp Objects using Image Class in GDI+.

Image  image(L"Mosaic.png");

  // Draw the image.
  graphics.DrawImage(&image, 10, 10);

  // Construct a Graphics object based on the image.
  Graphics imageGraphics(&image);

  // Alter the image.
  SolidBrush brush(Color(255, 0, 0, 255));
  imageGraphics.FillEllipse(&brush, 20, 30, 80, 50);

  // Draw the altered image.
  graphics.DrawImage(&image, 200, 10);

Now I want to save this bmp as EPS File format.(that means save Image as Mosaic.eps).How do I do this?.Please send me the way to do it....
Thanks in advance..

pubudu , Thank you for your question.

This does not appear to be a question about the C++ programming language.

Please feel free to submit questions specifically about the C++ programming language to me at any time.

I suggest that you post this question at, which is more advanced than

David Spector


All Answers

Answers by Expert:

Ask Experts


David Spector


Highly knowledgeable in the C++ language, Visual C++ (MSVC), Windows API, documentation and other quality-assurance techniques, and debugging. Knowledgeable in MFC, COM, GUI design, and object-oriented design.


I have been a software engineer since 1965. I have been published. My specializations have been: biomedical programming, compiler implementation, and many kinds of Windows programming. I don't do Databases or other business-oriented stuff.

Windows?/DOS Developer's Journal, ACM SIGPLAN Notices, and Computer Science Press.

ICCP Systems Programming Certification
Master's degree equivalent in Computer Science

©2016 All rights reserved.