No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Filtre img()

Impossible de trouver des informations à propos du filtre img().

Information (14/02/2010)

J'avais réalisé cette page le 27/02/2003, dans la fougue de la découverte des possibilités du Web. Je laisse donc ces pages à titre d'information, mais avec le recul je ne suis pas du tout convaincu, car les différents filtres présentés ici ne sont valables que pour le navigateur Internet Explorer.

Exemple de syntaxe

  1. <img src="graphique.gif" style="FILTER: GLOW(color=blue, strength=4)">

Après les deux points suit l'appel au filtre par son nom et ses paramètres séparés par des virgules. Le tout entre parenthèses.
Si un filtre ne demande aucun paramètre, les parenthèses sont tout de même présentes (comme pour un appel de fonction).

Nous pouvons combiner plusieurs filtres pour un même élément, comme le montre l'exemple suivant.

  1. <img src="graphique.gif" style="filter:Blur(strength=50) FlipH();">

Contents Haut

Balises HTML sur lesquelles nous pouvons appliquer les filtres

BaliseApplication
BaliseApplication
bodyla totalité de la page affichée
buttonla surface pouvant être cliquée
divle passage en relation avec les mentions de feuilles de style width: et/ou height: et/ou position:
imgle graphique référencé
inputle champ de saisie
marqueele texte déroulant
spanle passage en relation avec les mentions de feuilles de style width: et/ou height: et/ou position:
tablele tableau
tdla cellule de données d'un tableau
textareale champ de saisie à plusieurs lignes
tfootle pied d'un tableau
thla rangée d'entête d'un tableau
theadl'entête d'un tableau
trla rangée d'un tableau

Exemples d'utilisation de filtres

Les exemples changent à chaque chargement de la page. Si vous désirez d'autres exemples, vous pouvez recharger la page.

Exemple avec Alpha()

  1. <head>
  2. <title>filter:0()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  6. <meta name="Reply-to" content="oppenheimer.juliusrobert@infobrol.tk">
  7. <meta name="Publisher" content="Oppenheimer">
  8. <meta name="Copyright" content="Julius Robert Oppenheimer">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <h1>Exemple de filtre Alpha</h1>
  13. <div align="center">
  14. <img
  15. src="filter_0.gif"
  16. style="filter:Alpha(opacity=75, finishopacity=0, style=0)"
  17. width="95"
  18. height="22"
  19. alt="Exemple de filtre 0"
  20. border="0">
  21. </div>
  22. </body>
  23. </html>

Contents Haut

Exemple avec Blur()

  1. <head>
  2. <title>filter:1()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Reply-to" content="knuth.donald@infobrol.edu">
  5. <meta name="Publisher" content="Knuth">
  6. <meta name="Copyright" content="Donald Knuth">
  7. <meta http-equiv="content-language" content="fr">
  8. </head>
  9. <body>
  10. <form>
  11. <textarea id="test_textarea"
  12. style="filter:Blur(strength=6);"
  13. rows="18"
  14. cols="18">
  15. The quick brown fox jumped over the lazy dog.
  16. type="button"
  17. name="btn1"
  18. value="Test"
  19. style="filter:Blur(strength=6);" />
  20. </form>
  21. </body>
  22. </html>

Contents Haut

Exemple avec Chroma()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:2()</title>
  6. <meta name="Reply-to" content="alex.bell@telephone.com">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8. </head>
  9. <body>
  10. <div style="width: 100%; filter:Chroma(color=#cd853f);">
  11. Ceci est un texte avec Chroma...
  12. </div>
  13. </body>
  14. </html>

Contents Haut

Exemple avec DropShadow()

  1. <head>
  2. <title>filter:3()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Author" lang="fr" content="Antoine Henri Becquerel">
  5. <meta name="Publisher" content="Berkeley">
  6. </head>
  7. <body>
  8. <h1>Exemple de filtre DropShadow</h1>
  9. width:100%; padding:19px; font-size:46pt; color:red;
  10. filter:3(offx=4, offy=4)">
  11. Application de DropShadow(),
  12. texte avec DropShadow
  13. The quick brown fox jumped over the lazy dog.
  14. The quick brown fox jumped over the lazy dog.
  15. The quick brown fox jumped over the lazy dog.
  16. The quick brown fox jumped over the lazy dog.
  17. </div>
  18. </body>
  19. </html>

Contents Haut

Exemple avec FlipH()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:4()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Reply-to" content="edward.appleton@infobrol.edu">
  9. <meta name="Copyright" content="Appleton Edward">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <img
  14. style="filter:FlipH();"
  15. src="4Filter.jpg"
  16. align="center"
  17. width="86"
  18. height="83"
  19. alt="FlipH
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:FlipH();">
  22. FlipH
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </html>

Contents Haut

Exemple avec FlipV()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <head>
  4. <title>filter:5()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="giacomo@leopardi.net">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <h1>Exemple de filtre FlipV</h1>
  14. <div align="center">
  15. <img
  16. src="filter_5.gif"
  17. style="filter:FlipV()"
  18. width="50"
  19. height="34"
  20. alt="Exemple de filtre 5"
  21. border="0">
  22. </div>
  23. </body>
  24. </html>

Contents Haut

Exemple avec Glow()

  1. <head>
  2. <title>filter:6()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Reply-to" content="andrewstuart@tanenbaum.net">
  5. <meta name="Publisher" content="Tanenbaum">
  6. <meta name="Copyright" content="Andrew Stuart Tanenbaum">
  7. <meta http-equiv="content-language" content="fr">
  8. </head>
  9. <body>
  10. <h1>Exemple de filtre Glow</h1>
  11. <div align="center">
  12. <img
  13. src="filter_6.gif"
  14. style="filter:Glow(color=#fafad2)"
  15. width="11"
  16. height="171"
  17. alt="Exemple de filtre 6"
  18. border="0">
  19. </div>
  20. </body>
  21. </html>

Contents Haut

Exemple avec Gray()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <head>
  4. <title>filter:7()</title>
  5. <meta name="Reply-to" content="edward.appleton@infobrol.edu">
  6. <meta http-equiv="content-language" content="fr">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8. </head>
  9. <body>
  10. <h1>Exemple de filtre Gray</h1>
  11. width:100%; padding:3px; font-size:49pt; color:red;
  12. filter:7()">
  13. Application de Gray(),
  14. texte avec Gray
  15. The quick brown fox jumped over the lazy dog.
  16. The quick brown fox jumped over the lazy dog.
  17. The quick brown fox jumped over the lazy dog.
  18. The quick brown fox jumped over the lazy dog.
  19. </div>
  20. </body>
  21. </html>

Contents Haut

Exemple avec Invert()

  1. <head>
  2. <title>filter:8()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Publisher" content="Abrial">
  8. <meta name="Copyright" content="Jean-Raymond Abrial">
  9. <meta http-equiv="content-language" content="fr">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. width:100%;
  13. padding:8px;
  14. font-size:23pt;
  15. color:blue;
  16. filter:Invert()">
  17. Exemples d'utilisation de filtres</p>
  18. </div>
  19.  
  20. <br />
  21. <br />
  22.  
  23. <tr valign="top">
  24. <td width="22%" height="218">
  25. The quick brown fox jumped over the lazy dog.
  26. The quick brown fox jumped over the lazy dog.
  27. The quick brown fox jumped over the lazy dog.
  28. The quick brown fox jumped over the lazy dog.
  29. </td>
  30. <td width="21%">
  31. &nbsp;
  32. </td>
  33. <td width="57%">
  34. The quick brown fox jumped over the lazy dog.
  35. The quick brown fox jumped over the lazy dog.
  36. The quick brown fox jumped over the lazy dog.
  37. The quick brown fox jumped over the lazy dog.
  38. </td>
  39. </tr>
  40. </table>
  41.  
  42. </body>
  43. </html>

Contents Haut

Exemple avec Mask()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:9()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="john@millar.org">
  9. <meta name="Publisher" content="Millar">
  10. <meta name="Copyright" content="John Millar">
  11. <meta http-equiv="content-language" content="fr">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13.  
  14. body {
  15. margin: 2px;
  16. padding: 11px;
  17. font-family: verdana;
  18. font-size: 11px;
  19. min-width: 701px;
  20. background:#FFFFFF;
  21. color:#000000;
  22. }
  23. </style>
  24.  
  25. </head>
  26.  
  27. <body>
  28. <h1>Exemple de filtre Mask</h1>
  29. <div align="center">
  30. <img
  31. src="filter_9.gif"
  32. style="filter:Mask(color=#fafad2)"
  33. width="185"
  34. height="15"
  35. alt="Exemple de filtre 9"
  36. border="0">
  37. </div>
  38. </body>
  39. </html>

Contents Haut

Exemple avec Shadow()

  1. <!DOCTYPE html PUBLIC
  2. "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <head>
  5. <title>filter:10()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="spengler.oswald@gmail.com">
  10. <meta name="Publisher" content="Spengler">
  11. <meta name="Copyright" content="Oswald Spengler">
  12. </head>
  13. <body>
  14. <form>
  15. <textarea id="test_textarea"
  16. style="filter:Shadow(direction=225, color=#cd853f);"
  17. rows="5"
  18. cols="15">
  19. Mauris et orci. Aenean nec lorem. In porttitor. Donec laoreet
  20. nonummy augue. Suspendisse dui purus, scelerisque at, vulputate
  21. vitae, pretium mattis, nunc. Mauris eget neque at sem venenatis
  22. eleifend. Ut nonummy. Fusce aliquet pede non pede.
  23. Suspendisse dapibus lorem pellentesque magna. Integer nulla.
  24. Donec blandit feugiat ligula. Donec hendrerit, felis et imperdiet
  25. euismod, purus ipsum pretium metus, in lacinia nulla nisl eget
  26. sapien. Donec ut est in lectus consequat consequat. Etiam eget
  27. dui. Aliquam erat volutpat. Sed at lorem in nunc porta tristique.
  28. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  29. Maecenas porttitor congue massa. Fusce posuere, magna sed
  30. pulvinar ultricies, purus lectus malesuada libero, sit amet
  31. commodo magna eros quis urna. Nunc viverra imperdiet enim.
  32. Fusce est. Vivamus a tellus. Pellentesque habitant morbi
  33. tristique senectus et netus et malesuada fames ac turpis
  34. egestas. Proin pharetra nonummy pede.
  35. type="button"
  36. name="btn1"
  37. value="Test"
  38. style="filter:Shadow(direction=225, color=#cd853f);" />
  39. </form>
  40. </body>
  41. </html>

Contents Haut

Exemple avec Wave()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <head>
  4. <title>filter:11()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Reply-to" content="antoine@cournot.info">
  8. <meta name="Publisher" content="Cournot">
  9. <meta name="Copyright" content="Antoine Cournot">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12.  
  13. body {
  14. margin: 0px;
  15. padding: 0px;
  16. font-family: verdana;
  17. font-size: 16px;
  18. min-width: 711px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <img
  26. style="filter:Wave(light=10, freq=41);"
  27. src="11Filter.jpg"
  28. align="center"
  29. width="89"
  30. height="94"
  31. alt="Wave
  32. appliqu&eacute; &agrave; une image">
  33. <span style="width: 100%; filter:Wave(light=10, freq=41);">
  34. Wave
  35. appliqu&eacute; &agrave; du texte
  36. </span>
  37. </body>
  38. </html>

Contents Haut

Exemple avec XRay()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:12()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Copyright" content="Robert Wilhelm Bunsen">
  8. <meta http-equiv="content-language" content="fr">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <img
  12. style="filter:XRay();"
  13. src="12Filter.jpg"
  14. align="center"
  15. width="87"
  16. height="83"
  17. alt="XRay
  18. appliqu&eacute; &agrave; une image">
  19. <span style="width: 100%; filter:XRay();">
  20. XRay
  21. appliqu&eacute; &agrave; du texte
  22. </span>
  23. </body>
  24. </html>

Contents Haut

Liste de filtres

#NomEffet
#NomEffet
0Alpha()effet de fusion de l'avant-plan et l'arrière-plan
1Blur()effet d'estompe
2Chroma()effet de couleur transparente
3DropShadow()effet d'ombrage
4FlipH()effet de symétrie sur axe horizontal
5FlipV()effet de symétrie sur axe vertical
6Glow()effet de bords flambants
7Gray()effet de nuances de gris
8Invert()effet d'inversion
9Mask()effet de masque transparent
10Shadow()effet d'ombres
11Wave()effet d'ondulation
12XRay()effet négatif photo

Afficher tous les filtres avec exemples.

Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph