DevIL是致力于开发应用程序中图片显示加载函数库,他有非常强大的功能,同时非常容易学习和掌握。开发人员可以使用它轻易的加载各种格式的图片。
2 H D5 T! I6 M. S g" ~7 Q9 |目前DevIL可以加载的图片格式有: ' v% Q+ f- |& h2 d4 ^2 s& @( v9 W) K
.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.
5 [' {; B! R* W s: h0 KFormats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif. , k2 c! W7 V3 i7 a( r
: w2 H4 u7 C; M9 vDevIL目前支持OpenGL,Windows GDI,SDL,DirectX等等,而且看上去好像还是全平台的. 9 M$ P) e" h2 [ F, x
% T+ f+ }( j2 R3 A
DevIL的站点在
2 b# C6 `8 E. r9 [1 E* z4 L5 P yhttp://openil.sourceforge.net/
: W1 N4 ?: ?. l; s9 ^, J/ I
{" U. S/ s/ C8 Q% U- P0 [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. 8 @/ o) X! V3 Q2 H! V
; G+ T9 l7 d ~4 ^
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.
2 s- \. s( P' Y% A% I* q, cFormats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif. 3 p) |% p$ { W% ~5 y$ {
9 H, x3 ~' G8 y* @/ }( @ PDevIL 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++. 4 l$ t0 x; K r4 E) G Y% o
9 }* }4 v" r8 ? |