+
    UBi,"                       ^ RI Ht ^ RIHt ^RIHtHt ^RIHt ^RIH	t
 RtR R lt]! 4       tRR	R
RRR/tR^R^R^ /tR R lt]P"                  ! R]4       ]P$                  ! RR4       ]P&                  ! RR4       R# )    )annotations)IO)Image	ImageFile)o8)o16bec                   V ^8  d   QhRR/# )   returnImage.Image )formats   "8/usr/lib/python3.14/site-packages/PIL/PalmImagePlugin.py__annotate__r   W   s      {     c            	     J   \         P                  ! R ^\        \        4      34      p V P	                  \        \        \        \        4      4      4      4       Rp\         F  pW,          pK  	  VRR\        \        4      ,
          ,          ,          pV P                  V4       V # )L   r   r   r   r   )r   newlen_Palm8BitColormapValuesputdatalistrange
putpalette)imagepalettedatacolormapValues      r   build_prototype_imager    W   s}    IIcAs#:;<=E	MM$uS!89:;<#%K0$ 19c*A&B BCCK	[!Lr   custom-colormapi @  zis-compressedi   zhas-transparenti    nonerlescanlinec               (    V ^8  d   QhRRRRRRRR/# )	r
   imr   fpz	IO[bytes]filenamezstr | bytesr   Noner   )r   s   "r   r   r   u   s.     Z Zk Zy ZK ZD Zr   c                F  aa V P                   R 8X  d	   R p^p^pEM*V P                   R8X  d   V P                  P                  R4      R9   dD   V P                  R,          p^V,          ^,
          o^V,
          oV P                  VV3R l4      p MtV P                  P                  R4      R9   d:   V P                  R,          p^V,          ^,
          oV P                  V3R l4      p MRV P                    R2p\        V4      hR V n        RV 2p^pM3V P                   R8X  d   R	p^p^ pMRV P                    R2p\        V4      hV P                  4        V P                  ^ ,          pV P                  ^,          p\        V^V,          ^,
          ,           ^V,          ,          4      ^,          p	^ p
\        R
,          p^ pV P                   R 8X  dR   V\        R,          ,          pV P                  P                  4       p\        V4      ^,          p^V,          ^,           pM^ pRV P                  9   d&   W,          ^,           ^,           V,           ^,          pM^ pVP                  \!        V4      \!        V4      ,           \!        V	4      ,           \!        V4      ,           4       VP                  \#        V4      4       VP                  \#        V4      4       VP                  \!        V4      4       VP                  \#        V
4      4       VP                  \#        V4      4       VP                  \!        ^ 4      4       V'       dp   VP                  \!        X4      4       \%        V4       FF  pVP                  \#        V4      4       VP                  X^V,          ^V,          ^,            4       KH  	  \&        P(                  ! W\&        P*                  ! RRV P                  ,           ^ W9^34      .4       \-        VR4      '       d   VP/                  4        R# R# )Pr   bppc                $   < SV S,	          ,
          # Nr   )xmaxvalshifts   &r   <lambda>_save.<locals>.<lambda>   s    Fa5j$9r   c                $   < SV S,          ,
          # r.   r   )r/   r0   s   &r   r2   r3      s    Fa&j$9r   zcannot write mode z as PalmzP;1z1;Ir"   r!   offsetrawflushN)   r
      )r   r   )modeencoderinfogetpointinfoOSError_modeloadsizeint_COMPRESSION_TYPES_FLAGSr&   
getpaletter   writeo16br   r   r   _save_Tilehasattrr8   )r&   r'   r(   rawmoder,   versionmsgcolsrowsrowbytestransparent_indexcompression_typeflagscolormapcolorscolormapsizer6   ir0   r1   s   &&&               @@r   rJ   rJ   u   s-   	ww#~	C>>e$	1 ..'C3h!^FGE9:BWW[[9, ''%.C3h!^F9:B&rwwix8C#, se*	C #277)84cl GGI 771:D771:DDB#IM*rSy9:Q>H)&1E	ww#~)**55##%X!#6zA~277/B&*\9a?HHT$Z$t*$tH~5UCDHHRWHHR[HHT&\HHR!"#HHR !"HHT!W 
fvAHHRUOHHXa!ea!eai01 
 OO
(8!gQR=STU r7

 r   Palmz.palmz
image/palmN(   )   r[   r[   )r[      r[   )r[      r[   )r[   f   r[   )r[   3   r[   )r[   r   r[   )r[   r[   r\   )r[   r\   r\   )r[   r]   r\   )r[   r^   r\   )r[   r_   r\   )r[   r   r\   )r[   r[   r]   )r[   r\   r]   )r[   r]   r]   )r[   r^   r]   )r[   r_   r]   )r[   r   r]   )r\   r[   r[   )r\   r\   r[   )r\   r]   r[   )r\   r^   r[   )r\   r_   r[   )r\   r   r[   )r\   r[   r\   )r\   r\   r\   )r\   r]   r\   )r\   r^   r\   )r\   r_   r\   )r\   r   r\   )r\   r[   r]   )r\   r\   r]   )r\   r]   r]   )r\   r^   r]   )r\   r_   r]   )r\   r   r]   )r]   r[   r[   )r]   r\   r[   )r]   r]   r[   )r]   r^   r[   )r]   r_   r[   )r]   r   r[   )r]   r[   r\   )r]   r\   r\   )r]   r]   r\   )r]   r^   r\   )r]   r_   r\   )r]   r   r\   )r]   r[   r]   )r]   r\   r]   )r]   r]   r]   )r]   r^   r]   )r]   r_   r]   )r]   r   r]   )r^   r[   r[   )r^   r\   r[   )r^   r]   r[   )r^   r^   r[   )r^   r_   r[   )r^   r   r[   )r^   r[   r\   )r^   r\   r\   )r^   r]   r\   )r^   r^   r\   )r^   r_   r\   )r^   r   r\   )r^   r[   r]   )r^   r\   r]   )r^   r]   r]   )r^   r^   r]   )r^   r_   r]   )r^   r   r]   )r_   r[   r[   )r_   r\   r[   )r_   r]   r[   )r_   r^   r[   )r_   r_   r[   )r_   r   r[   )r_   r[   r\   )r_   r\   r\   )r_   r]   r\   )r_   r^   r\   )r_   r_   r\   )r_   r   r\   )r_   r[   r]   )r_   r\   r]   )r_   r]   r]   )r_   r^   r]   )r_   r_   r]   )r_   r   r]   )r   r[   r[   )r   r\   r[   )r   r]   r[   )r   r^   r[   )r   r_   r[   )r   r   r[   )r   r[   r\   )r   r\   r\   )r   r]   r\   )r   r^   r\   )r   r_   r\   )r   r   r\   )r   r[   r]   )r   r\   r]   )r   r]   r]   )r   r^   r]   )r   r_   r]   )r   r   r]   )r[   r[   r^   )r[   r\   r^   )r[   r]   r^   )r[   r^   r^   )r[   r_   r^   )r[   r   r^   )r[   r[   r_   )r[   r\   r_   )r[   r]   r_   )r[   r^   r_   )r[   r_   r_   )r[   r   r_   )r[   r[   r   )r[   r\   r   )r[   r]   r   )r[   r^   r   )r[   r_   r   )r[   r   r   )r\   r[   r^   )r\   r\   r^   )r\   r]   r^   )r\   r^   r^   )r\   r_   r^   )r\   r   r^   )r\   r[   r_   )r\   r\   r_   )r\   r]   r_   )r\   r^   r_   )r\   r_   r_   )r\   r   r_   )r\   r[   r   )r\   r\   r   )r\   r]   r   )r\   r^   r   )r\   r_   r   )r\   r   r   )r]   r[   r^   )r]   r\   r^   )r]   r]   r^   )r]   r^   r^   )r]   r_   r^   )r]   r   r^   )r]   r[   r_   )r]   r\   r_   )r]   r]   r_   )r]   r^   r_   )r]   r_   r_   )r]   r   r_   )r]   r[   r   )r]   r\   r   )r]   r]   r   )r]   r^   r   )r]   r_   r   )r]   r   r   )r^   r[   r^   )r^   r\   r^   )r^   r]   r^   )r^   r^   r^   )r^   r_   r^   )r^   r   r^   )r^   r[   r_   )r^   r\   r_   )r^   r]   r_   )r^   r^   r_   )r^   r_   r_   )r^   r   r_   )r^   r[   r   )r^   r\   r   )r^   r]   r   )r^   r^   r   )r^   r_   r   )r^   r   r   )r_   r[   r^   )r_   r\   r^   )r_   r]   r^   )r_   r^   r^   )r_   r_   r^   )r_   r   r^   )r_   r[   r_   )r_   r\   r_   )r_   r]   r_   )r_   r^   r_   )r_   r_   r_   )r_   r   r_   )r_   r[   r   )r_   r\   r   )r_   r]   r   )r_   r^   r   )r_   r_   r   )r_   r   r   )r   r[   r^   )r   r\   r^   )r   r]   r^   )r   r^   r^   )r   r_   r^   )r   r   r^   )r   r[   r_   )r   r\   r_   )r   r]   r_   )r   r^   r_   )r   r_   r_   )r   r   r_   )r   r[   r   )r   r\   r   )r   r]   r   )r   r^   r   )r   r_   r   )   r`   r`   )"   ra   ra   )D   rb   rb   )U   rc   rc   )w   rd   rd   )   re   re   )   rf   rf   )   rg   rg   )   rh   rh   )   ri   ri   )   rj   rj   )   r   r   )rk   r   rk   )r   rk   r   )r   rk   rk   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   )
__future__r   typingr    r   r   _binaryr   r   rI   r   r    Palm8BitColormapImagerF   rE   rJ   register_saveregister_extensionregister_mimer   r   r   <module>rt      s    #    "@H J ./  V_f>OQW	XdE4TB Z@   FE "    )   FL )r   