AlkantarClanX12

Your IP : 13.58.34.132


Current Path : /proc/self/root/opt/alt/python33/lib64/python3.3/email/mime/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python33/lib64/python3.3/email/mime/__pycache__/image.cpython-33.pyc

�
��f�c@sUdZdgZddlZddlmZddlmZGdd�de�ZdS(u/Class representing image/* type MIME documents.u	MIMEImageiN(uencoders(uMIMENonMultipartcBs/|EeZdZdZdejdd�ZdS(u	MIMEImageu1Class for generating image/* type MIME documents.cKsm|dkr!tjd|�}n|dkr<td��ntj|d||�|j|�||�dS(u�Create an image/* type MIME document.

        _imagedata is a string containing the raw image data.  If this data
        can be decoded by the standard Python `imghdr' module, then the
        subtype will be automatically included in the Content-Type header.
        Otherwise, you can specify the specific image subtype via the _subtype
        parameter.

        _encoder is a function which will perform the actual encoding for
        transport of the image data.  It takes one argument, which is this
        Image instance.  It should use get_payload() and set_payload() to
        change the payload to the encoded form.  It should also add any
        Content-Transfer-Encoding or other headers to the message as
        necessary.  The default encoding is Base64.

        Any additional keyword arguments are passed to the base class
        constructor, which turns them into parameters on the Content-Type
        header.
        u"Could not guess image MIME subtypeuimageN(uNoneuimghdruwhatu	TypeErroruMIMENonMultipartu__init__uset_payload(uselfu
_imagedatau_subtypeu_encoderu_params((u5/opt/alt/python33/lib64/python3.3/email/mime/image.pyu__init__s
uMIMEImage.__init__N(u__name__u
__module__u__qualname__u__doc__uNoneuencodersu
encode_base64u__init__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/email/mime/image.pyu	MIMEImages(u__doc__u__all__uimghdruemailuencodersuemail.mime.nonmultipartuMIMENonMultipartu	MIMEImage(((u5/opt/alt/python33/lib64/python3.3/email/mime/image.pyu<module>s