B ¥.¦^àã@sNddlmZmZddlmZGdd„dejƒZe eje¡e ejd¡dS)é)ÚImageÚ ImageFile)Úi8c@s$eZdZdZdZdd„Zdd„ZdS)Ú PcdImageFileZPCDz Kodak PhotoCDcCsŠ|j d¡|j d¡}|dd…dkr0tdƒ‚t|dƒd@}d|_|dkrVd|_n|dkrdd |_d |_d |_d d |jddfg|_ dS)NiésPCD_znot a PCD fileiéréZi¦ÿÿÿZRGB)iiZpcd)ér i) ÚfpÚseekÚreadÚ SyntaxErrorrÚtile_post_rotateÚmodeÚ_sizeÚsizeZtile)ÚselfÚsZ orientation©rú6/tmp/pip-install-mwhup7aw/Pillow/PIL/PcdImagePlugin.pyÚ_open s  zPcdImageFile._opencCs$|jr |j |j¡|_|jj|_dS)N)rZimÚrotaterr)rrrrÚload_end4szPcdImageFile.load_endN)Ú__name__Ú __module__Ú __qualname__ÚformatÚformat_descriptionrrrrrrrsrz.pcdN) ÚrrÚ_binaryrrZ register_openrZregister_extensionrrrrÚs #