ilib
所属分类:
图片显示
开发工具:C/C++
文件大小:141KB
下载次数:564
上传日期:2003-08-01 00:00:00
上 传 者:
管理员
说明: 一个c语言写的图像处理库,能够处理PPM, XPM, GIF, PNG ,JPG格式图像
(A c language image processing library, able to deal with PPM, XPM, GIF, PNG, JPG format images)
文件列表:
ilib (0, 2003-07-08)
ilib\COPYING (17982, 1996-06-18)
ilib\ChangeLog (3451, 2000-05-24)
ilib\FAQ.html (3844, 1999-11-30)
ilib\Ilib.html (29805, 2000-04-03)
ilib\Makefile (7549, 2000-05-24)
ilib\TODO (972, 2000-05-24)
ilib\clients (0, 2000-10-14)
ilib\clients\Makefile (618, 2000-04-04)
ilib\clients\ifont2h (0, 2000-10-14)
ilib\clients\ifont2h\Makefile (2524, 2000-05-23)
ilib\clients\ifont2h\ifont2h.c (1550, 1998-05-17)
ilib\clients\iindex (0, 2000-10-14)
ilib\clients\iindex\iindex.c (8998, 1999-12-09)
ilib\clients\iindex\Makefile (2689, 2000-05-23)
ilib\clients\iwebreprt (0, 2000-10-14)
ilib\clients\iwebreprt\Makefile (2808, 2000-05-23)
ilib\clients\iwebreprt\iwebreprt.c (32622, 1998-05-17)
ilib\clients\idisplayfont (0, 2000-10-14)
ilib\clients\idisplayfont\Makefile (2740, 2000-05-23)
ilib\clients\idisplayfont\idisplayfont.c (4524, 1999-07-19)
ilib\clients\ifraggraph (0, 2000-10-14)
ilib\clients\ifraggraph\Makefile (2843, 2000-05-23)
ilib\clients\ifraggraph\ifraggraph.c (9739, 1998-05-27)
ilib\examples (0, 2000-10-14)
ilib\examples\iconvert (0, 2000-10-14)
ilib\examples\iconvert\iconvert.c (2241, 1999-07-23)
ilib\examples\iconvert\Makefile (2452, 2000-05-23)
ilib\examples\Makefile (485, 2000-04-04)
ilib\examples\isample (0, 2000-10-14)
ilib\examples\isample\Makefile (2800, 2000-05-23)
ilib\examples\isample\isample.c (8049, 2000-05-23)
ilib\images (0, 2000-10-14)
ilib\images\ilib-logo-lowsrc.jpg (909, 1999-11-30)
ilib\images\ilib-logo-small.gif (2490, 1999-11-30)
ilib\images\ilib-logo.gif (9237, 1999-11-30)
ilib\images\ilib-logo-small.png (2478, 1999-11-30)
ilib\images\ilib-logo.png (7627, 1999-11-30)
ilib\include (0, 2000-10-14)
... ...
Ilib-1.1.7
Copyright (C) 2000 Craig Knudsen, cknudsen@radix.net
http://www.radix.net/~cknudsen/Ilib/
Ilib is a library (and some tools and examples) written in C
that can read, create, manipulate and save images. It is capable
of using X11 BDF fonts for drawing text. That means you get
lots (208, to be exact) of fonts to use. You can even create your
own if you know how to create an X11 BDF font. It can read and
write PPM, XPM, GIF, PNG and JPG image format. I can read (but not
yet write) BMP.
EXTRAS:
--------------------------------------------------------------------------
Download and install EITHER Giflib or Libungif if you want to read or
write GIFs. Giflib is available at:
http://prtr-13.ucsc.edu/~badger/software/giflib.shtml
Libungif is available at:
http://prtr-13.ucsc.edu/~badger/software/libungif.shtml
Download and install libpng if you want to read or write PNGs:
http://www.cdrom.com/pub/png/pngcode.html
Download and install libjpeg to read and write JPEGs:
ftp://ftp.uu.net/graphics/jpeg/
Download additional X11 BDF fonts:
ftp://ftp.xfree.org/pub/XFree86/current/untarred/xc/fonts/bdf/75dpi/
or try
ftp://ftp.xfree.org/pub/XFree86/3.3.3.1/untarred/xc/fonts/bdf/75dpi/
Edit/Import/Create BDF fonts with xmbdfed (requires Motif/Lesstif):
(not sure where the primary location for this... use
AltaVista to find it.)
COMPILING (UNIX):
--------------------------------------------------------------------------
In order to make use of GIF, PNG or JPEG, you need to obtain the
add-on libraries mentioned above. (First, check your system. If
you have a Linux distribution, it's likely to have some of these
installed.)
Edit the definitions of LIBS, DEFINES, INCLUDES to indicate which
libraries are installed. Change PREFIX if you don't want to install
in /usr/local.
Also, edit the values of CC and RANLIB if needed.
Then, just type "make makefiles; make all" to build everthing.
Both a shared and static library will be buily in the "lib" directory.
Type "make install" to install everything (defaults to /usr/local).
Look at the programs in "examples" and "clients" as examples how to use
Ilib. The example program "iconvert" shows a handy tool for converting
images between different formats and "isample" shows how to draw text,
lines, etc.
COMPILING (Win32):
--------------------------------------------------------------------------
You should be able to use the Cygnus Win32 package to build Ilib using the
provided makefiles. I have not tested this since Ilib v1.0.
Ilib-1.1.0 has also been built on Win95 with MS Visual Developer (Visual
C++). GIFLIB was also built with MS Visual Developer. Sorry, I'm not
going to try and provide makefiles or project files for this.
HISTORY:
--------------------------------------------------------------------------
See ChangeLog.
近期下载者:
相关文件:
收藏者: