DevIL是致力于开发应用程序中图片显示加载函数库,他有非常强大的功能,同时非常容易学习和掌握。开发人员可以使用它轻易的加载各种格式的图片。 5 \" F3 w0 j7 q! F5 L+ w
目前DevIL可以加载的图片格式有: ; v! ]8 b/ N& x/ Y4 U: x; ^6 x0 t
.bmp, .cut, .dds, .doom, .gif, .ico, .jpg, .lbm, .mdl, .mng, .pal, .pbm, .pcd, .pcx, .pgm, .pic, .png, .ppm, .psd, .psp, .raw, .sgi, .tga and .tif .hdr files. 0 i" _1 g; D! p" g2 m; A
Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif. 1 v% O, |. X0 l4 P: R/ A b! r0 t# O
, |1 Y- g1 v4 X$ yDevIL目前支持OpenGL,Windows GDI,SDL,DirectX等等,而且看上去好像还是全平台的.
6 ]# s7 E' `. M- b4 r/ L; c
6 P( Q/ P0 Y7 [% P3 ZDevIL的站点在 ; D8 g" ]' j: V. a' A
http://openil.sourceforge.net/
" k$ n$ f& d- R& r
% \% `) D5 g% d$ sDeveloper'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. ( O- {! `* d0 |$ r, D; F2 U
/ d0 d1 B& J) o$ o
Currently, DevIL can load .bmp, .cut, .dds, .doom, .gif, .ico, .jpg, .lbm, .mdl, .mng, .pal, .pbm, .pcd, .pcx, .pgm, .pic, .png, .ppm, .psd, .psp, .raw, .sgi, .tga and .tif .hdr files.
( c3 {/ I# J, X jFormats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif. " Q& r; e. @0 ~* ] [
8 l* _6 s D" x/ X* T6 ^/ @' P
DevIL currently supports the following APIs for display: OpenGL, Windows GDI, SDL, DirectX and Allegro. Compilers that can compile DevIL or use it include Djgpp, MSVC++, Linux gcc, Delphi, Visual Basic, Power Basic and Dev-C++.
: c9 v6 }8 z) p( ]0 {7 J1 C" }
" X8 r+ _* u$ M |