Image Libraries: Difference between revisions
Jump to navigation
Jump to search
Created new page, copied content here from existing pages, and added some new. |
|||
Line 4: | Line 4: | ||
*[http://www.libpng.org/pub/png/libpng.html libpng]: The official library for loading PNG files. It is very widely used. Many other libraries use this to handle PNG. | *[http://www.libpng.org/pub/png/libpng.html libpng]: The official library for loading PNG files. It is very widely used. Many other libraries use this to handle PNG. | ||
*[http://www.ijg.org/ libjpg]: A library for loading JPEG (or JPG) files. As with libpng, other libraries use libjpg to handle JPEG. | *[http://www.ijg.org/ libjpg]: A library for loading JPEG (or JPG) files. As with libpng, other libraries use libjpg to handle JPEG. | ||
*[http://www.khronos.org/opengles/sdk/tools/KTX/ libktx]: Library for the ktx file format. The ktx format is closely related to OpenGL. | |||
===Multi Format Libraries=== | ===Multi Format Libraries=== |
Revision as of 16:13, 10 June 2011
Loading images from files is outside the scope of the OpenGL specification. It is handled by user-made code, or image handling libraries
Single Format Libraries
- libpng: The official library for loading PNG files. It is very widely used. Many other libraries use this to handle PNG.
- libjpg: A library for loading JPEG (or JPG) files. As with libpng, other libraries use libjpg to handle JPEG.
- libktx: Library for the ktx file format. The ktx format is closely related to OpenGL.
Multi Format Libraries
- GLAUX : This is a very old library that should not be used anymore. Most people who encounter GLAUX are people who see the NeHe tutorials which haven't been updated in years. NeHe uses auxDIBImageLoad() in order to read BMP files. GLAUX is no longer available.
- DevIL: DevIL stands for Developers Image Library. It supports many image formats for reading and writing, it supports several compilers and OS (Win, Linux, Mac OSX). The library has a OpenGL-like syntax. It has not been updated recently.
- FreeImage: FreeImage is an cross-platform image-loading library, with very wide support for image formats (including some HDR formats like OpenEXR).
- SOIL: SOIL ( Simple OpenGL Image Loader ) is a public-domain cross-platform image loader that's extremely small.
- GLI: GLI( OpenGL Image ) is a small cross-platform C++ image library able to load DDS textures (DDS9 and DDS10), compressed or uncompressed. It is licensed under the MIT license.