-
Hi,
could you please provide a minimal (like 10 lines of code) example that fails? It seems that you might miss some includes.
Regards,
Matej.
2010-01-01 21:44:39 UTC by bubla
-
thank* you ;)
2009-12-30 02:22:47 UTC by vitinho
-
the current version of libdevil (installed using darwinports on a mac) doesn't include IL.framework which I need to compile a game. where can I find it? I tried to compile from the source provided in the libdevil's website and all I got are errors...
I compiled the game on linux flawlessly.
thanks you
if it helps. here's the errors I receive not having the il.framework:
g++ -Wall...
2009-12-30 02:21:50 UTC by vitinho
-
Hello,
I can't tell you much about SDL since I don't work with it.However, we have a ILUT SDL example that could interest you (it is supposed to be in the 'examples' section of the .tar.gz distribution of DevIL)
Although the DevIL stuff seems to be a little bit broken to me ATM, the SDL one is the more robust of them...
Regards,
Matej.
2009-12-13 19:46:04 UTC by bubla
-
Ups, forgot. Maybe there something with the data value?
int memory_needed = w * h * 3 * sizeof(unsigned char);
ILubyte * data = (ILubyte *)malloc(memory_needed);.
2009-12-09 17:14:42 UTC by neutonm
-
Hi,
I was wondering, it is possible to load pixel data from image and make a sdl surface from it?
(result.png works fine, but SDL bmp have only w, h and black background)
ilCopyPixels(0, 0, 0,w, h,
1, IL_RGB, IL_UNSIGNED_BYTE, data);
ilSetPixels(0, 0, 0, w, h, 1, IL_RGB, IL_UNSIGNED_BYTE, data);
/* and dump them to the disc... */
ilSaveImage("result.png");.
2009-12-09 17:03:04 UTC by neutonm
-
bubla committed revision 1669 to the Developer's Image Library SVN repository, changing 57 files.
2009-12-07 14:06:33 UTC by bubla
-
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
2009-12-05 02:20:16 UTC by sf-robot
-
Stefan Cornelius of Secunia Research found an insufficient
input sanitation in the way DevIL image library used to process
Digital Imaging and Communications in Medicine (DICOM) images.
If a remote attacker could trick a local user to process
a specially-crafted DICOM image in an application, using
the DevIL image processing library, it could lead to
stack-based buffer overflow and denial...
2009-12-04 12:05:19 UTC by jwrdegoede
-
Hi ,
I have an image class that I am trying to get to work with file i/o using DevIL. While I can successfully read raw data into my pixel buffer, I can't seem to be able to get the reverse right :(
Here's a snippet that achieves input (this works) ...
bool isOK = ilLoadImage(inFile.c_str());
if(isOK){
ILubyte *fileData = ilGetData();
int w =...
2009-11-22 15:02:31 UTC by shek