Questions tagged [devil]

Developer's Image Library (DevIL) is a programmer's library to develop applications with very powerful image loading capabilities, yet is easy for a developer to learn and use

Ultimate control of images is left to the developer, so unnecessary conversions, etc. are not performed. DevIL utilizes a simple, yet powerful, syntax. DevIL can load, save, convert, manipulate, filter and display a wide variety of image formats.

100 questions
0
votes
1 answer

Loading animated images with devIL

Is this code sample correct? Why do some of _data have the same values? How can i get pointers to every animation frame contained in gif image? _num = ilGetInteger(IL_NUM_IMAGES)+1; for (int i = 0; i < _num; i++) { ilActiveImage(i); …
user3808059
  • 373
  • 2
  • 15
0
votes
0 answers

DevIL Error 1920 when loading an image

right now I'm trying to load a Image texture for a quad using DevIL image Library, I'm having a problem that no matter whats path I specify or type of image I tell it to load, it will always tell me error code 1290, which is IL_COULD_NOT_OPEN_FILE,…
0
votes
1 answer

How to load devIL image from raw data

I would like to create devIL image from raw texture data, but I can't seem to find a way to do it. The proper way seems to be ilLoadL with IL_RAW, but I can't get it to work. The documentation in here says that that there should be 13-byte header in…
Heiski
  • 111
  • 2
  • 10
0
votes
1 answer

How To Link DevIL Linker Libraries Properly?

Linking these libraries was just like linking any other library. But my issue comes when I run my project I am not getting linker errrors but my error is about "DLL" I get "The program can't start because DevIL.dll is missing from your computer. Try…
Franky Rivera
  • 553
  • 8
  • 20
0
votes
1 answer

DevIL library: save gray scale image in three matrices instead one

I need to make a program that convert a RGB image to a GRAYSCALE image and save it in PGM format. I use DevIL library, but when I save the image, I obtain always a 3D image (3 matrix), in grayscale but, if I load it in MATLAB, I have 3 matrices…
volperossa
  • 1,339
  • 20
  • 33
0
votes
1 answer

Including error DevIL/ResIL image library in project

I try to compile a sample code using the Devil image library. I already found this link: DevIL library files and dependencies but this doesn't help me further I already included the IL directory with its contents and the lib files to the…
naruto90
  • 48
  • 8
0
votes
2 answers

DevIL image not rendering correctly

I am using OpenGL, I can load tga files properly, but for some reason when i render jpg files, i do not see them correctly. This is what the image is supposed to look like-- And this is what it looks like.. why is it stretched? is it because of…
2am
  • 378
  • 1
  • 6
  • 18
0
votes
1 answer

OpenGL/DevIL: Texture Clipped has white around the edges

I'm using DevIl to load openGL textures, which is chopped up into sprites by metadata. The problem is, the chopped segment has white around the edges (see below): This sprite is 64 x 64, so no pixel padding procedures have been used. The…
0
votes
1 answer

Building LÖVE, no yum package DevIL-devel available for CentOS 6, needing build guidance

I am trying to build the LÖVE framework for CentOS 6, using an i686 architecture. I have had very little success building the dependency DevIL-devel. I could not find any existing yum package for LÖVE, so that is why I attempted to build in the…
jkyrouac
  • 58
  • 5
0
votes
0 answers

Loading model Texture with DevIL

I am using DevIL library to load textures to apply to models. This is the code I have written to load the texture into a texture buffer: ILboolean success; ILuint…
John
  • 619
  • 2
  • 9
  • 24
0
votes
0 answers

assimp invalid enumerant IL_JPG OSX

I built DevIL on OSX. I can load in certain files like targa and bitmap, maybe others. There are, however, many files that cannot be parsed in or saved out. The error message given is that of an invalid enumrant. Has anybody come across such an…
ockert
  • 1
0
votes
1 answer

C# using DevIL library in winforms

I want to use the ilLoadL function from the devIL library using C#. But when I try to add DevIL.dll to my project it gives me this error: A reference to the "DevIL.dll" could not be added.Please make sure that the file is accessible and that it is…
user2911090
  • 15
  • 1
  • 7
0
votes
2 answers

Can't open file with DevIL

Here is the code: public void LoadTexture(string textureId, string path) { int devilId = 0; Il.ilGenImages(1, out devilId); Il.ilBindImage(devilId); // set as the active texture if (!Il.ilLoadImage(path)) …
Liam15
  • 75
  • 1
  • 6
0
votes
1 answer

DevIL PNG format for display in OpenGL

I'm doing some pixel work in OpenGL, and all was going well until I had to load a PNG. I found a thing called 'DevIL', and followed an example I found. It does display something, but it's just kind of a random rainbow. I'm doing it right as far…
0
votes
1 answer

Image format question

I'm using an image loader (DevIL) for image loading. Im just wondering if the image format (the uncompressed format in memory) loaded from files (.jpg, .png, .bmp etc) is determined by the image loading program itself, or is some way contingent…
horseyguy
  • 29,455
  • 20
  • 103
  • 145