文件操作 - GdImageFile.cpython-311.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/PIL/__pycache__/GdImageFile.cpython-311.pyc
编辑文件内容
� �"�c0 � �d � d Z ddlmZmZmZ ddlmZ ddlmZ G d� dej � � Z d d�Zd S )a� .. note:: This format cannot be automatically recognized, so the class is not registered for use with :py:func:`PIL.Image.open()`. To open a gd file, use the :py:func:`PIL.GdImageFile.open()` function instead. .. warning:: THE GD FORMAT IS NOT DESIGNED FOR DATA INTERCHANGE. This implementation is provided for convenience and demonstrational purposes only. � )� ImageFile�ImagePalette�UnidentifiedImageError)�i16be)�i32bec � � e Zd ZdZdZdZd� ZdS )�GdImageFilea% Image plugin for the GD uncompressed format. Note that this format is not supported by the standard :py:func:`PIL.Image.open()` function. To use this plugin, you have to import the :py:mod:`PIL.GdImageFile` module and use the :py:func:`PIL.GdImageFile.open()` function. �GDzGD uncompressed imagesc �� � | j � d� � }t |� � dvrd}t |� � �d| _ t |d� � t |d� � f| _ |d }|rdnd}t |d |z � � }|d k r || j d<