DevIL是致力于开发应用程序中图片显示加载函数库,他有非常强大的功能,同时非常容易学习和掌握。开发人员可以使用它轻易的加载各种格式的图片。
' S& Q, z5 Z) h目前DevIL可以加载的图片格式有:
5 O. s. p. ?+ @' @) M, c.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.
! |' ^" v* J* j" o' bFormats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif.
( B) k+ s' K4 h; s6 m. m/ B; e1 F+ U" V; W/ }' D: h* z/ W3 i* r
DevIL目前支持OpenGL,Windows GDI,SDL,DirectX等等,而且看上去好像还是全平台的.
0 t% S) A( B) G- y& W3 d+ n ?) M; z, n5 K) o, Z, g# |2 Y* M0 G9 n) {
DevIL的站点在
Q( m3 F6 H T1 y8 S" i5 g( o+ bhttp://openil.sourceforge.net/ ' D5 |# h; I; r5 w% t0 Q7 i
0 ~: _+ ~& L: N A0 H2 W
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. 7 g1 P& `# B4 X0 m3 l# @
: e' ?* c" }( E0 M! s6 w/ c
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. - R' p5 E/ c- Q. p
Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif.
4 q6 y! q5 d! S
1 H% T9 ~2 y t5 b/ T4 xDevIL 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++. / Q, g5 r. P; ~5 P' r
5 E1 z* r; ^) {3 }0 P |