![]() |
|
#1
|
|||
|
|||
Showing jpeg, png, gif, etc imagesHey all,
I'm using fltk 1.3 and ms visual studio 2005. I'm trying to get a simple image viewer going and am having trouble. I am trying to get erco's sample code to work for a jump off point but no dice. I have all the necessary libraries linked and i dont get any complier or linker errors but the program only displays a window with a gray box. Here is the code I'm using: CPP / C++ / C Code:
I have tried all different ways to write the path for the actual file browns.jpg even going so far as using the absolute path and still nothing but a gray box. This is part of a larger project but I'm just trying to get erco's example to work in order to figure out how it all works. If there are any questions you guys have in order to get better clarification just let me know. Thanks Last edited by admin : 20-Oct-2009 at 19:06.
Reason: Please insert your example C/C++ codes between [CPP] and [/CPP] tags
|
|||
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Loading wrong images. | Sujith | MS Visual C++ / MFC Forum | 0 | 08-May-2007 05:48 |
| Jpeg DPI resolution | jvpic | C++ Forum | 2 | 14-Aug-2006 01:35 |
| Jpeg Grabber using CIMAGE | babu_gi | C++ Forum | 5 | 10-Jan-2005 01:15 |
| Problem Showing Images !!!! | eRIC | MySQL / PHP Forum | 0 | 05-May-2004 23:33 |
| Why are my images distorted? | rhino1616 | Graphics Forum | 0 | 27-Jun-2003 10:30 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The