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. <!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:0()</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="heinrichjacobi.friedrich@infobrol.biz">
  10. <meta name="Publisher" content="Heinrich Jacobi">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <h1>Exemple de filtre Alpha</h1>
  14. <div align="center">
  15. <img
  16. src="filter_0.gif"
  17. style="filter:Alpha(opacity=31, finishopacity=0, style=1)"
  18. width="71"
  19. height="169"
  20. alt="Exemple de filtre 0"
  21. border="0">
  22. </div>
  23. </body>
  24. </html>

Contents Haut

Exemple avec Blur()

  1. <head>
  2. <title>filter:1()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Reply-to" content="lorentz.hendrikantoon@gmail.com">
  6. <meta name="Copyright" content="Hendrik Antoon Lorentz">
  7. <meta http-equiv="content-language" content="fr">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9.  
  10. body {
  11. margin: 4px;
  12. padding: 9px;
  13. font-family: verdana;
  14. font-size: 17px;
  15. min-width: 734px;
  16. }
  17. </style>
  18.  
  19. </head>
  20.  
  21. <body bgcolor="#FFFFFF" text="#000000">
  22. <img
  23. style="filter:Blur(strength=19);"
  24. src="1Filter.jpg"
  25. align="center"
  26. width="111"
  27. height="91"
  28. alt="Blur
  29. appliqu&eacute; &agrave; une image">
  30. <span style="width: 100%; filter:Blur(strength=19);">
  31. Blur
  32. appliqu&eacute; &agrave; du texte
  33. </span>
  34. </body>
  35. </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. <head>
  4. <title>filter:2()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  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="deunamuno.miguel@infobrol.edu">
  9. <meta name="Publisher" content="de Unamuno">
  10. <meta name="Copyright" content="Miguel de Unamuno">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body>
  14. <h1>Exemple de filtre Chroma</h1>
  15. width:100%; padding:10px; font-size:25pt; color:red;
  16. filter:2(color=#8470ff)">
  17. Application de Chroma(),
  18. texte avec Chroma
  19. The quick brown fox jumped over the lazy dog.
  20. The quick brown fox jumped over the lazy dog.
  21. The quick brown fox jumped over the lazy dog.
  22. The quick brown fox jumped over the lazy dog.
  23. </div>
  24. </body>
  25. </html>

Contents Haut

Exemple avec DropShadow()

  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:3()</title>
  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="edward.appleton@gmail.com">
  9. <meta name="Copyright" content="Appleton Edward">
  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. <div style="width: 100%; filter:DropShadow(offx=4, offy=2);">
  14. Ceci est un texte avec DropShadow...
  15. </div>
  16. </body>
  17. </html>

Contents Haut

Exemple avec FlipH()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:4()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="louis@breguet.org">
  8. <meta name="Publisher" content="Breguet">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. </head>
  11. <body>
  12. <img
  13. style="filter:FlipH();"
  14. src="4Filter.jpg"
  15. align="center"
  16. width="89"
  17. height="85"
  18. alt="FlipH
  19. appliqu&eacute; &agrave; une image">
  20. <span style="width: 100%; filter:FlipH();">
  21. FlipH
  22. appliqu&eacute; &agrave; du texte
  23. </span>
  24. </body>
  25. </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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:5()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="gabriel@fahrenheit.info">
  9. <meta name="Copyright" content="Gabriel Fahrenheit">
  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: 4px;
  15. padding: 9px;
  16. font-family: verdana;
  17. font-size: 17px;
  18. min-width: 734px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <img
  26. style="filter:FlipV();"
  27. src="5Filter.jpg"
  28. align="center"
  29. width="118"
  30. height="82"
  31. alt="FlipV
  32. appliqu&eacute; &agrave; une image">
  33. <span style="width: 100%; filter:FlipV();">
  34. FlipV
  35. appliqu&eacute; &agrave; du texte
  36. </span>
  37. </body>
  38. </html>

Contents Haut

Exemple avec Glow()

  1. <head>
  2. <title>filter:6()</title>
  3. <meta name="Description" content="Utilisation des filtres, Demo">
  4. <meta name="Reply-to" content="edward.appleton@gmail.com">
  5. <meta name="Copyright" content="Appleton Edward">
  6. </head>
  7. <body bgcolor="#FFFFFF" text="#000000">
  8. <div style="width: 100%; filter:Glow(color=#8470ff, strength=13);">
  9. Ceci est un texte avec Glow...
  10. </div>
  11. </body>
  12. </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 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="jobs.steve@infobrol.edu">
  9. <meta name="Publisher" content="Jobs">
  10. <meta name="Copyright" content="Steve Jobs">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body bgcolor="#FFFFFF" text="#000000">
  14. width:100%;
  15. padding:5px;
  16. font-size:43pt;
  17. color:blue;
  18. filter:Gray()">
  19. Exemples d'utilisation de filtres</p>
  20. </div>
  21.  
  22. <br />
  23. <br />
  24.  
  25. <tr valign="top">
  26. <td width="22%" height="218">
  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. </td>
  37. </tr>
  38. </table>
  39.  
  40. </body>
  41. </html>

Contents Haut

Exemple avec Invert()

  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:8()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Copyright" content="John William Mauchly">
  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. <div style="width: 100%; filter:Invert();">
  13. Ceci est un texte avec Invert...
  14. </div>
  15. </body>
  16. </html>

Contents Haut

Exemple avec Mask()

  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:9()</title>
  6. <meta name="Author" lang="fr" content="Duns Scot">
  7. <meta name="Reply-to" content="rasmus@lerdorf.org">
  8. <meta name="Copyright" content="Rasmus Lerdorf">
  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. <div style="width: 100%; filter:Mask(color=#8470ff);">
  13. Ceci est un texte avec Mask...
  14. </div>
  15. </body>
  16. </html>

Contents Haut

Exemple avec Shadow()

  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:10()</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="marx.karl@gmail.com">
  10. <meta name="Publisher" content="Marx">
  11. <meta name="Copyright" content="Karl Marx">
  12. <meta http-equiv="content-language" content="fr">
  13. </head>
  14. <body>
  15. <h1>Exemple de filtre Shadow</h1>
  16. width:100%; padding:6px; font-size:46pt; color:red;
  17. filter:10(color=#8470ff)">
  18. Application de Shadow(),
  19. texte avec Shadow
  20. The quick brown fox jumped over the lazy dog.
  21. The quick brown fox jumped over the lazy dog.
  22. The quick brown fox jumped over the lazy dog.
  23. The quick brown fox jumped over the lazy dog.
  24. </div>
  25. </body>
  26. </html>

Contents Haut

Exemple avec Wave()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:11()</title>
  4. <meta name="Author" lang="fr" content="Victor Cousin">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="isaac@newton.org">
  7. <meta name="Publisher" content="Newton">
  8. <meta name="Copyright" content="Isaac Newton">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body>
  12. <h1>Exemple de filtre Wave</h1>
  13. width:100%; padding:3px; font-size:49pt; color:red;
  14. filter:11(freq=21, light=44, phase=86, strength=4)">
  15. Application de Wave(),
  16. texte avec Wave
  17. The quick brown fox jumped over the lazy dog.
  18. The quick brown fox jumped over the lazy dog.
  19. The quick brown fox jumped over the lazy dog.
  20. The quick brown fox jumped over the lazy dog.
  21. </div>
  22. </body>
  23. </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 http-equiv="pragma" content="no-cache">
  8. <meta name="Author" lang="fr" content="Alan Kay">
  9. <meta name="Description" content="Utilisation des filtres, Demo">
  10. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  11. <meta name="Reply-to" content="chevalier.michel@infobrol.com">
  12. <meta name="Copyright" content="Michel Chevalier">
  13. <meta http-equiv="content-language" content="fr">
  14. </head>
  15. <body bgcolor="#FFFFFF" text="#000000">
  16. <img
  17. style="filter:XRay();"
  18. src="12Filter.jpg"
  19. align="center"
  20. width="76"
  21. height="100"
  22. alt="XRay
  23. appliqu&eacute; &agrave; une image">
  24. <span style="width: 100%; filter:XRay();">
  25. XRay
  26. appliqu&eacute; &agrave; du texte
  27. </span>
  28. </body>
  29. </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.

English translation

You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.

If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.

Thank you in advance.

Document created the 27/02/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/html-filtres-rf-mask.html/html-filtres-rf-shadow.html/xhtml-rf-img.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Filtres : selfhtml (version 13/02/10)

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut