How to load a bitmap file for texture under Linux? Under windows I have used “glaux” library, but how to load a bitmap under linux?
You can use the libtif library for load TGA picture into memory.
It’s a very easy library to use that can handle multiple variations of the tiff format (compressed or not, 24/32 bits support, etc …)
Only about ten lines are necessary for load a .tif file into memory with this library !!
One reference for other picture librarys loaders such as this incomprehensible and really non easy to use libjpeg library for example : they have a lot of work to do for that this library can be accessible to the majority of users …
@+
Cyclone
[This message has been edited by cyclone (edited 09-11-2001).]
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.