# Copyright (C) 2001-2018, Python Software Foundation # For licence information, see README file. # msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-04-02 22:11+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../Doc/library/imghdr.rst:2 msgid ":mod:`imghdr` --- Determine the type of an image" msgstr "" #: ../Doc/library/imghdr.rst:7 msgid "**Source code:** :source:`Lib/imghdr.py`" msgstr "**Code source :** :source:`Lib/imghdr.py`" #: ../Doc/library/imghdr.rst:11 msgid "" "The :mod:`imghdr` module determines the type of image contained in a file or " "byte stream." msgstr "" #: ../Doc/library/imghdr.rst:14 #, fuzzy msgid "The :mod:`imghdr` module defines the following function:" msgstr "Le module :mod:`nis` définit les instructions suivantes :" #: ../Doc/library/imghdr.rst:19 msgid "" "Tests the image data contained in the file named by *filename*, and returns " "a string describing the image type. If optional *h* is provided, the " "*filename* is ignored and *h* is assumed to contain the byte stream to test." msgstr "" #: ../Doc/library/imghdr.rst:23 msgid "Accepts a :term:`path-like object`." msgstr "Accepte un :term:`path-like object`." #: ../Doc/library/imghdr.rst:26 msgid "" "The following image types are recognized, as listed below with the return " "value from :func:`what`:" msgstr "" #: ../Doc/library/imghdr.rst:30 msgid "Value" msgstr "Valeur" #: ../Doc/library/imghdr.rst:30 msgid "Image format" msgstr "" #: ../Doc/library/imghdr.rst:32 msgid "``'rgb'``" msgstr "``'rgb'``" #: ../Doc/library/imghdr.rst:32 msgid "SGI ImgLib Files" msgstr "" #: ../Doc/library/imghdr.rst:34 msgid "``'gif'``" msgstr "``'gif'``" #: ../Doc/library/imghdr.rst:34 msgid "GIF 87a and 89a Files" msgstr "" #: ../Doc/library/imghdr.rst:36 msgid "``'pbm'``" msgstr "``'pbm'``" #: ../Doc/library/imghdr.rst:36 msgid "Portable Bitmap Files" msgstr "" #: ../Doc/library/imghdr.rst:38 msgid "``'pgm'``" msgstr "``'pgm'``" #: ../Doc/library/imghdr.rst:38 msgid "Portable Graymap Files" msgstr "" #: ../Doc/library/imghdr.rst:40 msgid "``'ppm'``" msgstr "``'ppm'``" #: ../Doc/library/imghdr.rst:40 msgid "Portable Pixmap Files" msgstr "" #: ../Doc/library/imghdr.rst:42 msgid "``'tiff'``" msgstr "``'tiff'``" #: ../Doc/library/imghdr.rst:42 msgid "TIFF Files" msgstr "" #: ../Doc/library/imghdr.rst:44 msgid "``'rast'``" msgstr "``'rast'``" #: ../Doc/library/imghdr.rst:44 msgid "Sun Raster Files" msgstr "" #: ../Doc/library/imghdr.rst:46 msgid "``'xbm'``" msgstr "``'xbm'``" #: ../Doc/library/imghdr.rst:46 msgid "X Bitmap Files" msgstr "" #: ../Doc/library/imghdr.rst:48 msgid "``'jpeg'``" msgstr "``'jpeg'``" #: ../Doc/library/imghdr.rst:48 msgid "JPEG data in JFIF or Exif formats" msgstr "" #: ../Doc/library/imghdr.rst:50 msgid "``'bmp'``" msgstr "``'bmp'``" #: ../Doc/library/imghdr.rst:50 msgid "BMP files" msgstr "" #: ../Doc/library/imghdr.rst:52 msgid "``'png'``" msgstr "``'png'``" #: ../Doc/library/imghdr.rst:52 msgid "Portable Network Graphics" msgstr "" #: ../Doc/library/imghdr.rst:54 msgid "``'webp'``" msgstr "``'webp'``" #: ../Doc/library/imghdr.rst:54 msgid "WebP files" msgstr "" #: ../Doc/library/imghdr.rst:56 msgid "``'exr'``" msgstr "``'exr'``" #: ../Doc/library/imghdr.rst:56 msgid "OpenEXR Files" msgstr "" #: ../Doc/library/imghdr.rst:59 msgid "The *exr* and *webp* formats were added." msgstr "" #: ../Doc/library/imghdr.rst:63 msgid "" "You can extend the list of file types :mod:`imghdr` can recognize by " "appending to this variable:" msgstr "" #: ../Doc/library/imghdr.rst:69 msgid "" "A list of functions performing the individual tests. Each function takes " "two arguments: the byte-stream and an open file-like object. When :func:" "`what` is called with a byte-stream, the file-like object will be ``None``." msgstr "" #: ../Doc/library/imghdr.rst:73 msgid "" "The test function should return a string describing the image type if the " "test succeeded, or ``None`` if it failed." msgstr "" #: ../Doc/library/imghdr.rst:76 msgid "Example::" msgstr "Exemple ::"