Mon, 03 Aug 2009 23:41:04 +0100
added dep/*.d and obj/*.o to hgignore
philpem@5 | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
philpem@5 | 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
philpem@5 | 3 | <!--#include file="header.html" --> |
philpem@5 | 4 | |
philpem@5 | 5 | <table align="center" border="0" cellpadding="20" cellspacing="0" width="100%"><tbody><tr><td> |
philpem@5 | 6 | <font face="Arial,Helvetica" size="-1"> |
philpem@5 | 7 | |
philpem@5 | 8 | <img src="img/item_download.gif" alt="Download"> |
philpem@5 | 9 | <p> |
philpem@5 | 10 | <b>Prerequisites</b> : |
philpem@5 | 11 | There are no strict prerequisites for installing and using the CImg Library. Anyway, we recommend |
philpem@5 | 12 | you install one of the binary release of the |
philpem@5 | 13 | <a href="http://www.imagemagick.org/script/binary-releases.php"><i>ImageMagick package</i></a> |
philpem@5 | 14 | on your system. It is the easiest way (although not the only one) to help CImg loading/saving compressed image formats, |
philpem@5 | 15 | such as JPEG, PNG, GIF, etc...<br/><br/> |
philpem@5 | 16 | You have different ways to get the CImg library : |
philpem@5 | 17 | |
philpem@5 | 18 | <table align="left" border="0" width="100%" cellspacing="20"> |
philpem@5 | 19 | <tr><td><a href="http://sourceforge.net/project/showfiles.php?group_id=96492&package_id=103094"> |
philpem@5 | 20 | <img src="img/item_standard_package.jpg" border="0" alt="Standard Package" |
philpem@5 | 21 | onmouseover="this.src='img/item_standard_package2.jpg';" |
philpem@5 | 22 | onmouseout="this.src='img/item_standard_package.jpg';" /></a></td> |
philpem@5 | 23 | <td><hr noshade="noshade" size="1" width="100%"></hr> |
philpem@5 | 24 | The CImg library is provided as |
philpem@5 | 25 | <a href="http://sourceforge.net/project/showfiles.php?group_id=96492&package_id=103094"> |
philpem@5 | 26 | <i>.zip</i> or |
philpem@5 | 27 | <i>.tar.gz packages</i></a> |
philpem@5 | 28 | which are <b>plateform-independent</b>. |
philpem@5 | 29 | They contain all the needed library files, as well as various examples illustrating |
philpem@5 | 30 | the use of the library functions and classes.<br/> |
philpem@5 | 31 | </td></tr> |
philpem@5 | 32 | <tr><td><a href="http://cimg.sourceforge.net/cimg-dev.deb"> |
philpem@5 | 33 | <img src="img/item_debian_package.jpg" border="0" alt="Debian Package" |
philpem@5 | 34 | onmouseover="this.src='img/item_debian_package2.jpg';" |
philpem@5 | 35 | onmouseout="this.src='img/item_debian_package.jpg';" /></a></td> |
philpem@5 | 36 | <td><hr noshade="noshade" size="1" width="100%"></hr> |
philpem@5 | 37 | A <a href="http://cimg.sourceforge.net/cimg-dev.deb"> |
philpem@5 | 38 | <i>.deb</i> package file</a> |
philpem@5 | 39 | is available for <b>Debian-based Unix distributions</b> |
philpem@5 | 40 | (including the well known Ubuntu distro). |
philpem@5 | 41 | Copy/Paste the lines below for a quick installation of the latest version of the CImg library |
philpem@5 | 42 | under such systems (superuser privileges required) : <br/><br/> |
philpem@5 | 43 | <table cellpadding="10" cellspacing="0" border="0" bgcolor="#EEEEFF"><tr><td> |
philpem@5 | 44 | <font size="-1"><i>wget http://cimg.sourceforge.net/cimg-dev.deb<br/> |
philpem@5 | 45 | dpkg -i cimg-dev.deb</i></font> |
philpem@5 | 46 | </td></tr></table> |
philpem@5 | 47 | </td></tr> |
philpem@5 | 48 | <tr><td><a href="http://prdownloads.sourceforge.net/cimg/CImg_demo_exe.zip?download"> |
philpem@5 | 49 | <img src="img/item_precompiled.jpg" border="0" alt="Pre-compiled Binaries" |
philpem@5 | 50 | onmouseover="this.src='img/item_precompiled2.jpg';" |
philpem@5 | 51 | onmouseout="this.src='img/item_precompiled.jpg';" /></a></td> |
philpem@5 | 52 | <td><hr noshade="noshade" size="1" width="100%"></hr> |
philpem@5 | 53 | Pre-compiled binaries of the main library demo file are available for <i>Windows</i>, <i>Linux</i> and <i>MacOSX</i>. |
philpem@5 | 54 | <a href="http://prdownloads.sourceforge.net/cimg/CImg_demo_exe.zip?download"> |
philpem@5 | 55 | Download this archive</a> if you want a quick overview of what the CImg Library can do.<br/> |
philpem@5 | 56 | <i>Note that this archive <b>does not contain any sources !</b> |
philpem@5 | 57 | If you want to be able to compile your own programs, download the standard package instead.</i> |
philpem@5 | 58 | </td></tr> |
philpem@5 | 59 | <tr><td><a href="http://cimg.cvs.sourceforge.net/cimg/CImg/"> |
philpem@5 | 60 | <img src="img/item_sources.jpg" border="0" alt="Sources Repository" |
philpem@5 | 61 | onmouseover="this.src='img/item_sources2.jpg';" |
philpem@5 | 62 | onmouseout="this.src='img/item_sources.jpg';" /></a></td> |
philpem@5 | 63 | <td><hr noshade="noshade" size="1" width="100%"></hr> |
philpem@5 | 64 | You may be also more adventurous and use CVS. |
philpem@5 | 65 | This ensures you will get the latest code available, and will ease the |
philpem@5 | 66 | updates as well (knowing the tool 'cvs' is needed indeed). To do this, just |
philpem@5 | 67 | type the commands : <br><br> |
philpem@5 | 68 | <table cellpadding="10" cellspacing="0" border="0" bgcolor="#EEEEFF"><tr><td> |
philpem@5 | 69 | <font size="-1"><i> |
philpem@5 | 70 | export CVS_RSH=ssh<br/> |
philpem@5 | 71 | cvs -d:pserver:anonymous@cimg.cvs.sourceforge.net:/cvsroot/cimg co CImg |
philpem@5 | 72 | </i></font> |
philpem@5 | 73 | </td></tr></table> |
philpem@5 | 74 | <br>in your favorite console. Nevertheless, you have to know that some code in the CVS version |
philpem@5 | 75 | may be experimental, so always test the latest stable archive before complaining ! |
philpem@5 | 76 | </td></tr> |
philpem@5 | 77 | </table> |
philpem@5 | 78 | </p> |
philpem@5 | 79 | |
philpem@5 | 80 | </font></td></tr></tbody></table> |
philpem@5 | 81 | |
philpem@5 | 82 | <!--#include file="footer.html" --> |