Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 ial$ã@sdddlZddlmZddlmZdadd„Zdd„ZGd d „d ƒZGd d „d ƒZ d d„Z dd„Z dS)éN)ÚBytesIOé)ÚImagec CsRtdkrNy*tjddƒ}tjd|jj›�d�daWntjk rLdaYnXtS)NÚ1rzPIL:)Údatar)rr)Ú _pilbitmap_okrÚnewÚtkinterÚ BitmapImageÚimÚidÚTclError)r ©rú,/tmp/tmp5hum_rxs/lib64/python/PIL/ImageTk.pyÚ_pilbitmap_check's  rcCs@d}d|kr|jdƒ}nd|kr.t|jdƒƒ}|r)r(rrrr÷szBitmapImage.widthcCs |jdS)zW Get the height of the image. :return: The height, in pixels. r)r>)r(rrrrÿszBitmapImage.heightcCs t|jƒS)z÷ Get the Tkinter bitmap image identifier. This method is automatically called by Tkinter whenever a BitmapImage object is passed to a Tkinter method. :return: A Tkinter bitmap image identifier (a string). )r0r?)r(rrrr1szBitmapImage.__str__)N) r:r;r<r=r*r/rrr1rrrrr Îs   r cCs4tjd|jƒ|jƒfƒ}|j}|jjd||jƒ|S)z:Copies the contents of a PhotoImage to a PIL image memory.rZPyImagingPhotoGet)rrrrr r&r-r )Zphotor r9rrrÚgetimagesr@cCsHGdd„dtjƒ}tjs tdƒ‚tjƒ}|r6|j|ƒ|||ƒjƒdS)z!Helper for the Image.show method.cseZdZ‡fdd„Z‡ZS)z_show..UIcsD|jdkrt|d|d�|_nt||d�|_tƒj||jddd�dS)NrZwhite)Z foregroundÚmaster)rAZblackr)r)ÚbgZbd)rr r)rÚsuperr*)r(rAr )Ú __class__rrr* s z_show..UI.__init__)r:r;r<r*Ú __classcell__rr)rDrÚUIsrFztkinter not initializedN)r ZLabelZ _default_rootÚOSErrorZToplevelÚtitleÚpack)r)rHrFÚtoprrrÚ_shows rK) r Úiorr5rrrrrr r@rKrrrrÚs   D