README 1.72 KB
Newer Older
1
Imlib2 1.5.1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

This is the Imlib 2 library - a library that does image file loading and
saving as well as rendering, manipulation, arbitrary polygon support, etc.

It does ALL of these operations FAST. Imlib2 also tries to be highly
intelligent about doing them, so writing naive programs can be done
easily, without sacrificing speed.

This is a complete rewrite over the Imlib 1.x series. The architecture is
more modular, simple, and flexible. See index.html in the doc/ directory
for more information.

Imlib2 requires several libraries to be already installed. These are:

libjpeg          http://www.ijg.org/
libpng           http://www.libpng.org/pub/png/libpng.html
18
freetype 2.1.x   http://www.freetype.org/
19 20 21 22 23 24 25

For examples of this library in use, seek:

Eterm            http://www.eterm.org/ (CVS version only, currently)
feh              http://www.linuxbrit.co.uk/feh.html
geist            http://www.linuxbrit.co.uk/geist.html

26 27 28 29 30 31 32 33 34 35 36 37 38
------------------------------------------------------------------------------
COMPILING AND INSTALLING:

  ./configure
  make
(as root unless youa re installing in your users directories):
  make install
      
------------------------------------------------------------------------------
BUILDING PACKAGES:

RPM: To build rpm packages:
  
39
  sudo rpm -ta imlib2-1.5.1.tar.gz
40 41 42 43 44 45

You will find rpm packages in your system /usr/src/redhat/* dirs (note you may
not need to use sudo or root if you have your own ~/.rpmrc. see rpm documents
for more details)

DEB: To build deb packages:
46

47 48
  tar zvf imlib2-1.5.1.tar.gz
  cd imlib2-1.5.1
49 50
  dpkg-buildpackage -us -uc -rfakeroot
  cd ..
51
  rm -rf imlib2-1.5.1
52

53 54
You will find all the debian source, binary etc. packages put in the directory
where you first untarred the source tarball.