I am trying to create a simple animation of an envelope opening up and then closing back. I want to know if there is any way by which I can have my envelope, which is designed in MS Paint, imported onto C++ program. The envelope has dimension 932 * 590 and has a size 269 KB. It has been stored as .bmp (16 colours)

NOTE: I just want to know how to import the above mentioned image.

Please help me out with this

You may want to talk to williamhelmsworth or look up a C++ library that allows you to interface with your OS and export/import bitmaps from C++.

Here's a code snippet from william that allows you to create .bmp's from C++, so I can imagine that importing would be a similar process.

I believe his was done with Windows - Snippet

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.