172 lines
3.8 KiB
Plaintext
172 lines
3.8 KiB
Plaintext
# SOME DESCRIPTIVE TITLE.
|
||
# Copyright (C) 1990-2016, Python Software Foundation
|
||
# This file is distributed under the same license as the Python package.
|
||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||
#
|
||
#, fuzzy
|
||
msgid ""
|
||
msgstr ""
|
||
"Project-Id-Version: Python 2.7\n"
|
||
"Report-Msgid-Bugs-To: \n"
|
||
"POT-Creation-Date: 2016-10-30 10:44+0100\n"
|
||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||
"Language-Team: LANGUAGE <LL@li.org>\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
|
||
msgid "The :mod:`imghdr` module defines the following function:"
|
||
msgstr ""
|
||
|
||
#: ../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 ""
|
||
"The following image types are recognized, as listed below with the return "
|
||
"value from :func:`what`:"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:27
|
||
msgid "Value"
|
||
msgstr "Valeur"
|
||
|
||
#: ../Doc/library/imghdr.rst:27
|
||
msgid "Image format"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:29
|
||
msgid "``'rgb'``"
|
||
msgstr "``'rgb'``"
|
||
|
||
#: ../Doc/library/imghdr.rst:29
|
||
msgid "SGI ImgLib Files"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:31
|
||
msgid "``'gif'``"
|
||
msgstr "``'gif'``"
|
||
|
||
#: ../Doc/library/imghdr.rst:31
|
||
msgid "GIF 87a and 89a Files"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:33
|
||
msgid "``'pbm'``"
|
||
msgstr "``'pbm'``"
|
||
|
||
#: ../Doc/library/imghdr.rst:33
|
||
msgid "Portable Bitmap Files"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:35
|
||
msgid "``'pgm'``"
|
||
msgstr "``'pgm'``"
|
||
|
||
#: ../Doc/library/imghdr.rst:35
|
||
msgid "Portable Graymap Files"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:37
|
||
msgid "``'ppm'``"
|
||
msgstr "``'ppm'``"
|
||
|
||
#: ../Doc/library/imghdr.rst:37
|
||
msgid "Portable Pixmap Files"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:39
|
||
msgid "``'tiff'``"
|
||
msgstr "``'tiff'``"
|
||
|
||
#: ../Doc/library/imghdr.rst:39
|
||
msgid "TIFF Files"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:41
|
||
msgid "``'rast'``"
|
||
msgstr "``'rast'``"
|
||
|
||
#: ../Doc/library/imghdr.rst:41
|
||
msgid "Sun Raster Files"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:43
|
||
msgid "``'xbm'``"
|
||
msgstr "``'xbm'``"
|
||
|
||
#: ../Doc/library/imghdr.rst:43
|
||
msgid "X Bitmap Files"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:45
|
||
msgid "``'jpeg'``"
|
||
msgstr "``'jpeg'``"
|
||
|
||
#: ../Doc/library/imghdr.rst:45
|
||
msgid "JPEG data in JFIF or Exif formats"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:47
|
||
msgid "``'bmp'``"
|
||
msgstr "``'bmp'``"
|
||
|
||
#: ../Doc/library/imghdr.rst:47
|
||
msgid "BMP files"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:49
|
||
msgid "``'png'``"
|
||
msgstr "``'png'``"
|
||
|
||
#: ../Doc/library/imghdr.rst:49
|
||
msgid "Portable Network Graphics"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:52
|
||
msgid "Exif detection."
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:55
|
||
msgid ""
|
||
"You can extend the list of file types :mod:`imghdr` can recognize by "
|
||
"appending to this variable:"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/imghdr.rst:61
|
||
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:65
|
||
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:68
|
||
msgid "Example::"
|
||
msgstr "Exemple ::"
|