Add DevIL 1.7.8.

This commit is contained in:
rude
2013-09-26 00:20:08 +02:00
parent 6e493fb605
commit c065120c58
487 changed files with 219483 additions and 0 deletions
@@ -0,0 +1,23 @@
#include <IL/devil_cpp_wrapper.hpp>
#include <iostream>
using namespace std;
int main(int argc, char **argv)
{
if (argc < 2) {
cout << "Please specify a filename." << endl;
return 1;
}
ilImage Image(argv[1]);
cout << Image.Width() << 'x' << Image.Height() << '@' << (ILuint)Image.Bpp() << endl;
ilEnable(IL_FILE_OVERWRITE);
Image.Save("test.tga");
return 0;
}