DevIL是致力于开发应用程序中图片显示加载函数库,他有非常强大的功能,同时非常容易学习和掌握。开发人员可以使用它轻易的加载各种格式的图片。
/ A7 |% h: i7 S/ L2 Z7 P% d- L9 w% Y目前DevIL可以加载的图片格式有: / k: @- z3 S0 U( n* H
.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.
; k5 l C! H3 j" }* FFormats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif. / g `9 d4 U- u2 r& C+ u& Z3 r1 E [0 P
' p G5 [- [* h- A9 w$ } ODevIL目前支持OpenGL,Windows GDI,SDL,DirectX等等,而且看上去好像还是全平台的. 9 u- N. ~( E) B/ V7 C
; O+ ]& |/ k# f4 K* O# Z* O2 ?DevIL的站点在
1 R( I# Z9 H) x! Bhttp://openil.sourceforge.net/ 0 l: x& p- C( ~9 e! s# g
& Y0 d8 ?1 |4 W" ZDeveloper'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. ' E9 i+ J% }3 | d% C& A7 K/ r
+ T0 S8 r5 b; R! S* H3 X8 fCurrently, 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.
* _ i# {" z/ }! A% ZFormats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif.
8 U, n: m% p# N0 U# w! p5 i
' U# n- v/ S& m. CDevIL 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++. 6 e0 D9 E$ Y& I! m/ t, h4 w
7 ?7 x- ~7 {6 H |