DevIL是致力于开发应用程序中图片显示加载函数库,他有非常强大的功能,同时非常容易学习和掌握。开发人员可以使用它轻易的加载各种格式的图片。 2 P( x( d8 K8 b
目前DevIL可以加载的图片格式有:
; a1 C4 j, _" W- f0 n) b. C6 B5 g.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. 8 o9 h h/ e9 ^. F0 @5 p) B
Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif. ) e% J3 z- s$ A* @7 Y
7 C; O/ X2 F# e' C; a: T" cDevIL目前支持OpenGL,Windows GDI,SDL,DirectX等等,而且看上去好像还是全平台的. % k3 r) i* [0 q/ C
8 ~# B* m$ J% J. h, @DevIL的站点在 9 }; n) `8 _ ~, x0 ~/ ]- E( M
http://openil.sourceforge.net/
9 R O! t7 E$ d% k- }) b m7 q J: _" `1 ` B! u8 h6 }' X& y
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. 0 L4 r. n- r' ]+ }. J
9 V( u( O0 ^) C* BCurrently, 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 `# {, x/ y$ HFormats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif.
+ F- @1 M% A9 y
5 _( h* P/ y! m$ k' q- yDevIL 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++.
1 R9 g Q/ [7 I
! a3 Z* |/ q/ t8 ]% ~ |