![]() |
|
#1
|
|||
|
|||
importing imagehi friends.
I really need your help about importing image in C++ for my project. all i need to know is how can i import an image in turbo C++ and make some process on it in dos graph mode. is it possible? my project is about to creating a 4*4 puzzle. |
|
#2
|
|||
|
|||
Re: importing imageYou just need to open the image.
__________________
Linux is the best OS in the world. |
|
#3
|
|||
|
|||
Re: importing imagebut how can i open the image?
is there any function for that? if any one knows that please help me... thanks. |
|
#4
|
|||
|
|||
Re: importing imageDefine a class that contain height and width of the pictures an header.
After that, you open the pictures using ios::binary. You should ifstream because u input from picture which is also a file. Read more about fstream, ifstream. Last but not least, i don't know whether open a file inside a constructor is it a good design cuz constructor and destructor cannot fail. I hope this help. __________________
Linux is the best OS in the world. |
|
#5
|
|||
|
|||
Re: importing imageThanks alot for your help
but still there is a question... is it simply works in the crt mode or it must be in the graph mode? |
Recent GIDBlog
2nd Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Image onto JFrame | tedds | Java Forum | 8 | 25-Oct-2007 20:04 |
| draw in image | jafar | FLTK Forum | 2 | 19-Sep-2006 10:51 |
| New to Java: Putting a simple image file on the screen | sgware | Java Forum | 9 | 07-Apr-2006 01:58 |
| GIM gidedit - a fltk fluid resize project | cable_guy_67 | FLTK Forum | 2 | 01-Jun-2005 15:00 |
| Checking source codes of image, audio and video files | onauc | C Programming Language | 5 | 26-Feb-2005 21:47 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The