DevIL是致力于开发应用程序中图片显示加载函数库,他有非常强大的功能,同时非常容易学习和掌握。开发人员可以使用它轻易的加载各种格式的图片。 . |3 H1 `0 T0 l# }' U8 v
目前DevIL可以加载的图片格式有: : f& b1 l3 }7 A! Y" P# n `: r
.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.
" U+ s4 ~5 K/ `( x' h' a# HFormats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif. 1 H9 @; a% G% L7 f3 ^
2 f8 r+ P- C2 E6 S) J" A
DevIL目前支持OpenGL,Windows GDI,SDL,DirectX等等,而且看上去好像还是全平台的.
# [ t. `$ k1 \* ^" A8 r
* F$ z7 }7 n5 R& M5 C' j2 ADevIL的站点在
1 j4 ^6 X/ Y" c7 Ghttp://openil.sourceforge.net/ 2 H' _2 e3 T% J7 [, P9 j
4 n5 S, ?; O. T* _. Q2 U( F3 B9 M
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.
; {9 C4 i# M% l. f, ~5 Z; f
. Z N0 d; @: w$ `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. 9 p# R I" ]2 t; c
Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif.
7 X7 e, ~3 t& F- @# A
$ O* Q5 u9 `5 ~, t$ A9 {0 i+ lDevIL 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++. % \2 A2 u a! x, {- @/ u
2 ?6 f# R( B# S) Q
|