Advertisement

saving image as bmp or jpg

Started by March 07, 2001 08:29 AM
2 comments, last by ogl 23 years, 8 months ago
How could I save my scene as a jpg or bmp
you could use OpenIL libraries. let''s take a look at www.openil.org
Advertisement
thanx for that - I have a few questions

Will openil enable me to load and save images as any other images type so if I have an option on the menu, or if I use the file menu save and open choices will it work like this - secondly how do I go about using openil in my application? is it a matter of adding the library and then using the functions as with opengl and will this be possible if I am already using opengl. Thirdly, is loading and saving aspect of openil stable or does it have bugs

thanx
1) Sure, you can save images in several formats supported by OpenIL.

2) You can use OpenIL alongside OpenGL. In fact, OpenIL was originally designed with OpenGL in mind. Yes, you basically add the libraries to the project, #include the headers, throw in a few function calls, then you have OpenIL support.

3) OpenIL''s loading and saving functions are very stable.

Denton Woods, aka DooMWiz
Open Image Library @ http://www.openil.org .
Denton Woods, aka DooMWizDeveloper's Image Library (DevIL) @ http://www.imagelib.org .

This topic is closed to new replies.

Advertisement