DevIL - saving images to file!!!!
Does anybody have experience saving images with DevIL?
With:
ilTexImage();
and
ilSaveImage();
For some reason this only gives me a file with a strange image in it.
Anybody have a litle of code who works ok?
Thanks
With:
ilTexImage();
and
ilSaveImage();
For some reason this only gives me a file with a strange image in it.
Anybody have a litle of code who works ok?
Thanks
Describe the strange image.
Does it look like a diagonal skewing, with weird colors? If so, you've got your formats mismatching the gl context.
I've never personally used DevIL, but I've made the above mistake enough that I recognize it at sight.
Does it look like a diagonal skewing, with weird colors? If so, you've got your formats mismatching the gl context.
I've never personally used DevIL, but I've made the above mistake enough that I recognize it at sight.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| saving images for games: what color profile? | Najdorf | 1 | 1,992 |
Jul 25, 2009 06:16 AM Last Post: AnotherJake |
|
| saving photos on iphone 1.1.4 | dimat | 1 | 1,945 |
Jun 30, 2008 12:23 PM Last Post: kodex |
|
| Saving Frame Buffer | nicromonicon | 2 | 2,535 |
Apr 9, 2008 08:23 AM Last Post: stevejohnson |
|
| How do I build DevIL? | GolfHacker | 4 | 4,231 |
Feb 25, 2007 08:00 AM Last Post: GolfHacker |
|
| Displaying image with OpenGL and DevIL in C? | leRiCl | 13 | 8,284 |
Jan 23, 2007 01:25 PM Last Post: djork |
|

