DevIL是致力于开发应用程序中图片显示加载函数库,他有非常强大的功能,同时非常容易学习和掌握。开发人员可以使用它轻易的加载各种格式的图片。 : R0 D' }8 e+ @
目前DevIL可以加载的图片格式有:
! h- N" x% a1 m.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.
1 o% x4 J2 r6 i( XFormats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif. 0 l+ y5 _3 p3 t+ W* f& Q
7 ?3 U7 s! }8 r% c( D
DevIL目前支持OpenGL,Windows GDI,SDL,DirectX等等,而且看上去好像还是全平台的. 1 H o6 l; W- d% N p, O7 S
4 l( S( a! S: x" G+ y0 d9 j4 {# n
DevIL的站点在
; y- n6 V& t0 M( K ~: f4 [http://openil.sourceforge.net/ # \) v+ a/ s' ^0 a* y2 ~
9 r, l+ c8 {% l
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. 4 E# ^! G- Z/ G) P; x& l$ k
2 w( p, G6 A. m& o9 J+ m n/ GCurrently, 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. $ d" q0 u' q8 l& c
Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif.
/ p$ B3 u! ]: q' o. S' Q
9 G3 |* _) W" ~3 m3 n* `: u8 O- u5 GDevIL 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++. . f7 D& ~3 M4 r5 Z* \
/ ]" F& h$ Y0 O! j |