|
| 1 | +<?xml version="1.0" encoding="iso-8859-1"?> |
| 2 | +<!-- $Revision: 1.1 $ --> |
| 3 | +<section id="image.installation"> |
| 4 | + &reftitle.install; |
| 5 | + <para> |
| 6 | + Pour activer le support de GD, vous devez compiler &php; avec |
| 7 | + l'option <option role="configure">--with-gd[=DIR]</option>, où DIR est le |
| 8 | + dossier d'installation de GD. Il est recommandé d'utiliser la version |
| 9 | + de GD qui est distribué avec PHP, en utilisant simplement l'option |
| 10 | + <option role="configure">--with-gd</option>. |
| 11 | + </para> |
| 12 | + <para> |
| 13 | + Augmentez les possibilités des GD de gérer d'autres formats d'images |
| 14 | + en spécifiant les options de compilations suivantes : |
| 15 | + <table> |
| 16 | + <title>Formats d'image supportés</title> |
| 17 | + <tgroup cols="2"> |
| 18 | + <thead> |
| 19 | + <row> |
| 20 | + <entry>Format d'image</entry> |
| 21 | + <entry>Option de compilation</entry> |
| 22 | + </row> |
| 23 | + </thead> |
| 24 | + <tbody> |
| 25 | + <row> |
| 26 | + <entry><literal>jpeg-6b</literal></entry> |
| 27 | + <entry> |
| 28 | + Pour activer le support de la librairie JPEG-6b, ajouter l'option |
| 29 | + <option role="configure">--with-jpeg-dir=DIR</option>. |
| 30 | + </entry> |
| 31 | + </row> |
| 32 | + <row> |
| 33 | + <entry><literal>png</literal></entry> |
| 34 | + <entry> |
| 35 | + Pour activer le support de la librairie PNG, ajouter l'option |
| 36 | + <option role="configure">--with-png-dir=DIR</option>. Notez que libpng |
| 37 | + requiert la librairie <link linkend="zlib.requirements">zlib</link>, |
| 38 | + et donc, il vous faudra ajouter aussi |
| 39 | + <option role="configure">--with-zlib-dir[=DIR]</option> dans votre ligne |
| 40 | + de compilation. |
| 41 | + </entry> |
| 42 | + </row> |
| 43 | + <row> |
| 44 | + <entry><literal>xpm</literal></entry> |
| 45 | + <entry> |
| 46 | + Pour activer le support de la librairie XPM, ajoutez l'option |
| 47 | + <option role="configure">--with-xpm-dir=DIR</option>. Si le script |
| 48 | + de compilation n'est pas capable de trouver les librairies nécessaires, |
| 49 | + il vous faudra ajouter le chemin vers les librairies |
| 50 | + X11. |
| 51 | + </entry> |
| 52 | + </row> |
| 53 | + </tbody> |
| 54 | + </tgroup> |
| 55 | + </table> |
| 56 | + </para> |
| 57 | + <para> |
| 58 | + Augmentez les possibilités de GD pour qu'elle manipule différentes types de polices |
| 59 | + de caractères en ajoutant les options de compilations suivantes : |
| 60 | + <table> |
| 61 | + <title>Librairies des polices de caractères supportées</title> |
| 62 | + <tgroup cols="2"> |
| 63 | + <thead> |
| 64 | + <row> |
| 65 | + <entry>Librairie</entry> |
| 66 | + <entry>Option de configuration</entry> |
| 67 | + </row> |
| 68 | + </thead> |
| 69 | + <tbody> |
| 70 | + <row> |
| 71 | + <entry><literal>FreeType 1.x</literal></entry> |
| 72 | + <entry> |
| 73 | + Pour activer le support de FreeType 1.x, ajoutez l'option |
| 74 | + <option role="configure">--with-ttf[=DIR]</option>. |
| 75 | + </entry> |
| 76 | + </row> |
| 77 | + <row> |
| 78 | + <entry><literal>FreeType 2</literal></entry> |
| 79 | + <entry> |
| 80 | + Pour activer le support de FreeType 2, ajoutez l'option |
| 81 | + <option role="configure">--with-freetype-dir=DIR</option>. |
| 82 | + </entry> |
| 83 | + </row> |
| 84 | + <row> |
| 85 | + <entry><literal>T1lib</literal></entry> |
| 86 | + <entry> |
| 87 | + Pour activer le support de T1lib (Type 1 fonts), ajoutez l'option |
| 88 | + <option role="configure">--with-t1lib[=DIR]</option>. |
| 89 | + </entry> |
| 90 | + </row> |
| 91 | + <row> |
| 92 | + <entry><literal>Native TrueType string function</literal></entry> |
| 93 | + <entry> |
| 94 | + Pour activer le support des chaînes de caractères TrueType, ajoutez l'option |
| 95 | + <option role="configure">--enable-gd-native-ttf</option>. |
| 96 | + </entry> |
| 97 | + </row> |
| 98 | + </tbody> |
| 99 | + </tgroup> |
| 100 | + </table> |
| 101 | + </para> |
| 102 | +</section> |
| 103 | + |
| 104 | + |
| 105 | +<!-- Keep this comment at the end of the file |
| 106 | +Local variables: |
| 107 | +mode: sgml |
| 108 | +sgml-omittag:t |
| 109 | +sgml-shorttag:t |
| 110 | +sgml-minimize-attributes:nil |
| 111 | +sgml-always-quote-attributes:t |
| 112 | +sgml-indent-step:1 |
| 113 | +sgml-indent-data:t |
| 114 | +indent-tabs-mode:nil |
| 115 | +sgml-parent-document:nil |
| 116 | +sgml-default-dtd-file:"../../../manual.ced" |
| 117 | +sgml-exposed-tags:nil |
| 118 | +sgml-local-catalogs:nil |
| 119 | +sgml-local-ecat-files:nil |
| 120 | +End: |
| 121 | +vim600: syn=xml fen fdm=syntax fdl=2 si |
| 122 | +vim: et tw=78 syn=sgml |
| 123 | +vi: ts=1 sw=1 |
| 124 | +--> |
0 commit comments