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
2
votes
0 answers

DevIL reading an invalid extension

So I've been using the DevIL library for a while now (along with ILU and ILUT) and have had few problems with it after I got it working. That is, until now. All of a sudden it does not seem to work with any image of any format. I'm using this…
TheTrueJard
  • 471
  • 4
  • 18
2
votes
1 answer

undefined reference to `iluInit' ONLY

This is very strange or very simple. I am using Devil library and in the very simple program I have to initialize it by: ilInit(); iluInit(); And here is the problem. IlInit() works fine, but iluInit() is not! It can not find the reference. Of…
paspy
  • 23
  • 1
  • 7
2
votes
1 answer

Transform OpenCV image data type to Devil image format and vice-versa

I want to use a CUDA-enabled SIFT library but I am using the OpenCV driver to get images from the webcam? The Cuda library is using the Devil Library for image data types. Should I transform the images from OpenCV data types to Devil? Or Should I…
D.K
  • 21
  • 1
2
votes
1 answer

devIL causes program to be unable to start correctly

I just tried to use devIL and ULIT to help me with opengl texture loading. However, whenever the program starts, I get the error: "The application was unable to start correctly (0xc000007b). Click OK to close the application." What happened? I'm…
Mark
  • 51
  • 1
  • 4
2
votes
3 answers

Save openGL output using DevIL or SOIL

I have tried using both soil and devil image libraries but the screenshots created are completely black images. For devil I used the function found here Take screenshot with openGL and save it as png but the image is still black screen. Any ideas…
kdarbs
  • 65
  • 4
2
votes
0 answers

Textures only draw if their dimensions are powers of two?

I am developing a project using GLUT, and when I want to use GlTexture to add a texture, it only works if the height and width are powers of 2 (e.g. 128x64, 256x256, etc.) Has anyone else experienced the same problem? My Example: GLuint…
sAlmeida
  • 99
  • 7
2
votes
2 answers

Devil iluErrorString() causing access violation

Please take a look at the results of my first day VC++. It contains an error which I am aware about. My problem is that devil comes up with an error as it should be, but trying to decode this error to a string using iluErrorString() causes an access…
2
votes
1 answer

devIL ilLoad error 1285

I'm Having an issue with loading an image with devIL for openGL in an earlier part of my project i call ilInit(); in a function right after i call my load just like this //generate a texture ilGenImages( 1, &uiTextureHandle ); //bind our…
Franky Rivera
  • 553
  • 8
  • 20
1
vote
1 answer

Why generate resource names in OpenGL and DevIL?

Just reading the DevIL manual here. Also reminded me of glGenBuffers. Why did they choose to have the user of each library generate names (pg. 6 in the DevIL manual), rather than specifying names for your own images/buffers and so on? I thought…
Engineer
  • 8,529
  • 7
  • 65
  • 105
1
vote
2 answers

How do i convert the DevIL in NEHE Lesson07 to Slick libraries?

I'm trying to learn how to use LWJGL libraries. Took me forever to find lessons. I eventually stumbled upon the NEHE lessons that teach OpenGL across many programming languages. I downloaded the LWJGL version of Lesson07 and noticed it was using…
Steven Rogers
  • 1,874
  • 5
  • 25
  • 48
1
vote
1 answer

Linking ilutOgl functions

Is there something else besides ilut.h I have to #include to get ilutOgl functions to work? Because ilutRenderer(ILUT_OPENGL) is recognized, but ilutOglLoadImage("myimage.jpeg") "was not declared in this scope". http://openil.sourceforge.net/
Rooster
  • 1,267
  • 3
  • 15
  • 23
1
vote
1 answer

Errors in the use of the Devil libraries

I found this tutorial, but when I copy code to my C++ project, there are many errors: -------------- Build: Debug in Tekstury123 --------------- Compiling: main.cpp C:\Users\piotrek\Documents\CodeBlocks Projects\Tekstury123\main.cpp:7: warning:…
user1019901
  • 561
  • 3
  • 5
  • 11
1
vote
1 answer

DevIL/OpenIL isn't loading alpha channel

I am having an issue where the .png image that I want to load as a byte array using DevIL is not having an alpha channel. A complete black image is also appearing as having alpha channel values as 0. This is my image loading…
Twarit Waikar
  • 103
  • 2
  • 9
1
vote
0 answers

Which is the FASTEST image loading library?

I am currently using stb_image to load textures of 3D models. For the "sponza" model, there are 63 textures to load (including diffuse color textures, normal maps, height maps, etc.) and this takes several seconds. I want these textures to load…
j00hi
  • 5,420
  • 3
  • 45
  • 82
1
vote
2 answers

White textures with OpenGL and DevIL on some Windows systems

I'm having some problems trying to load images with DevIL and creating textures in OpenGL. When a friend of mine tested my program on his Windows, all the rects, whom were supposed to contain textures, were white, without any image (texture). The…
user549219