DevIL是致力于开发应用程序中图片显示加载函数库,他有非常强大的功能,同时非常容易学习和掌握。开发人员可以使用它轻易的加载各种格式的图片。 $ m/ T* M1 P3 y# K: s; M' S
目前DevIL可以加载的图片格式有: 6 X$ o" w! D: ]3 Q
.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 ]( e) v7 D6 ~
Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif. " @8 l& d. S2 X+ b5 X9 K) g
* s2 f4 ^* j$ L1 B: ?DevIL目前支持OpenGL,Windows GDI,SDL,DirectX等等,而且看上去好像还是全平台的.
5 L0 N6 }& Y! d( f. y- c2 K
2 N$ s$ m2 q. Y) K2 V8 |' PDevIL的站点在 - E, D# v* h- L" V
http://openil.sourceforge.net/ 1 E6 J% F9 [2 ^* i
* N3 O5 O7 c% |( C7 u1 \/ p! {6 Y( FDeveloper'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.
# N- h; e* F- o% m) ?7 Y
w* R9 f: p5 K$ p' s8 n4 iCurrently, 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.
4 M3 ^; ]; E6 Y cFormats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif.
" V2 `+ V; R: Y l7 R" R! J& I l# |9 v4 L: n8 a5 Y3 O
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++.
& c: A6 J* W* ~& p q0 p. m
) A( Y. O4 R" @) Y+ j |