冒险解谜游戏中文网 ChinaAVG
标题:
介绍一个开源的图片库DevIL
[打印本页]
作者:
shane007
时间:
2008-11-17 09:16
标题:
介绍一个开源的图片库DevIL
DevIL是致力于开发应用程序中图片显示加载函数库,他有非常强大的功能,同时非常容易学习和掌握。开发人员可以使用它轻易的加载各种格式的图片。
, J, R: m3 C4 }. \- q
目前DevIL可以加载的图片格式有:
# ~- F4 {( V7 }8 Q
.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 y" w: m% z
Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif.
% z) ?4 ~3 K* U/ F3 V% I
& S; O! g- X S6 u( W2 k. O8 J: V! }
DevIL目前支持OpenGL,Windows GDI,SDL,DirectX等等,而且看上去好像还是全平台的.
3 o8 ?& R( ^: E4 v4 C
* _, K) C5 n0 }" _3 G# f
DevIL的站点在
9 @3 S, K! N2 u2 a& ?
http://openil.sourceforge.net/
4 T0 v) f& W" B
' B8 [' D8 P, N, T7 `
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.
* a# a1 v2 `/ R n Q h+ F
. }) v1 M3 a2 f
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.
4 Y' R2 V! w3 I) N
Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif.
6 l0 @$ l; ^5 c, m- Z/ D3 b" B
8 L1 f1 v6 l$ l
DevIL 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++.
5 p8 k8 h" I6 J3 ~% g
2 B m7 x$ ?* A( w' N" @7 @
欢迎光临 冒险解谜游戏中文网 ChinaAVG (https://chinaavg.com/)
Powered by Discuz! X3.2