
    (phW                        S SK Jr  SSKJrJr   " S S\R                  5      r\R                  " \R                  \5        \R                  " \R                  S5        g)    )annotations   )Image	ImageFilec                  0    \ rS rSrSrSrSS jrSS jrSrg)	PcdImageFile   PCDzKodak PhotoCDc                \   U R                   c   eU R                   R                  S5        U R                   R                  S5      nUS S S:w  a  Sn[        U5      eUS   S-  nS U l        US:X  a  SU l        OUS:X  a  S	U l        S
U l        SU l        SSU R                  -   SS 4/U l        g )Ni      s   PCD_znot a PCD filei     r   Z   iRGB)i   i   pcd)r   r   i   )	fpseekreadSyntaxErrortile_post_rotate_mode_sizesizetile)selfsmsgorientations       E/var/www/html/venv/lib/python3.13/site-packages/PIL/PcdImagePlugin.py_openPcdImageFile._open   s    ww"""TGGLLRa5G"Cc""gk $!$&D!A$'D!

Vdii/DAB	    c                    U R                   (       aU  U R                  c   eU R                  R                  U R                   5      U l        U R                  R                  U l        g g )N)r   imrotater   r   )r   s    r   load_endPcdImageFile.load_end4   sI      77&&&ggnnT%:%:;DGDJ !r!   )r   r   r#   r   r   N)returnNone)	__name__
__module____qualname____firstlineno__formatformat_descriptionr   r%   __static_attributes__ r!   r   r   r      s    F(C,&r!   r   z.pcdN)	
__future__r    r   r   r   register_openr-   register_extensionr0   r!   r   <module>r5      sN     #  &9&&  &L   L'' 6   ,,f 5r!   