DevIL是致力于开发应用程序中图片显示加载函数库,他有非常强大的功能,同时非常容易学习和掌握。开发人员可以使用它轻易的加载各种格式的图片。
$ n3 k6 h! @' r8 X# k2 s" ?目前DevIL可以加载的图片格式有:
; P; ~( p+ o) A/ {" E- i T; L.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.
2 G' t8 _+ o/ }/ yFormats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif. , y7 P& ~: R2 E8 a; {& m/ r
7 G" b1 c% g9 p4 _DevIL目前支持OpenGL,Windows GDI,SDL,DirectX等等,而且看上去好像还是全平台的.
% a' S9 N8 a' B5 S7 L! |8 i% r Q& B, |* X. J/ S: ]
DevIL的站点在 , Y+ {8 {3 q8 w; P
http://openil.sourceforge.net/
* ]( }5 ~, S+ I) ?0 I
5 b! f, X" X; B$ vDeveloper'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. , j+ E$ Z! a7 B" j
E* @; S! A! A! N7 K9 e7 T3 S
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.
' C$ `% q8 O* rFormats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif. ! O) f! _3 k" R: o, N
1 A& g1 t3 B. L0 b
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++.
0 U) v8 d0 g+ J' ^2 j- s! i7 m9 |) e2 G A* m1 }
|