DevIL - saving images to file!!!!

Post: #1
Does anybody have experience saving images with DevIL?



For some reason this only gives me a file with a strange image in it.
Anybody have a litle of code who works ok?

Quote this message in a reply
Posts: 1,199
Joined: 2004.10
Post: #2
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. Rolleyes
Quote this message in a reply
Post: #3
Yep... that kind of image...
I will see again the code... Cool
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  saving images for games: what color profile? Najdorf 1 3,292 Jul 25, 2009 06:16 AM
Last Post: AnotherJake
  saving photos on iphone 1.1.4 dimat 1 3,441 Jun 30, 2008 12:23 PM
Last Post: kodex
  Saving Frame Buffer nicromonicon 2 4,664 Apr 9, 2008 08:23 AM
Last Post: stevejohnson
  How do I build DevIL? GolfHacker 4 6,745 Feb 25, 2007 08:00 AM
Last Post: GolfHacker
  Displaying image with OpenGL and DevIL in C? leRiCl 13 14,587 Jan 23, 2007 01:25 PM
Last Post: djork