Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 ia¡ ã@sPdZddlmZmZmZddlmZddlmZ Gdd„dejƒZ d dd „Z d 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@s eZdZdZdZdZdd„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. ZGDzGD uncompressed imagescCsÀ|jjdƒ}t|ƒdkr tdƒ‚d|_t|dƒt|dƒf|_|d}|rLdnd }t|d |ƒ}|d krp||jd <tj d |d |dd |dd…ƒ|_ dd|j d |dddfg|_ dS)Ni éþÿéÿÿzNot a valid GD 2.x .gd fileÚLééééééZ transparencyZXBGRÚrawr)rr i)rri)r rr) ÚfpÚreadÚi16Ú SyntaxErrorÚmodeÚ_sizeÚi32ÚinforrZpaletteÚsizeZtile)ÚselfÚsZ trueColorZtrueColorOffsetZtindex©rú0/tmp/tmp5hum_rxs/lib64/python/PIL/GdImageFile.pyÚ_open.s    &zGdImageFile._openN)Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚformatZformat_descriptionrrrrrr#srÚrcCsJ|dkrtdƒ‚yt|ƒStk rD}ztdƒ|‚WYdd}~XnXdS)a) Load texture from a GD image file. :param filename: GD file name, or an opened file handle. :param mode: Optional mode. In this version, if the mode argument is given, it must be "r". :returns: An image instance. :raises OSError: If the image could not be read. r%zbad modezcannot identify this image fileN)Ú ValueErrorrrr)rrÚerrrÚopenJs r(N)r%) r#ÚrrrZ_binaryrrrrrr(rrrrÚs   '