+
     i  c                  s    ^ RI Ht ^RIHtHt ^RIHt R R lt ! R R]P                  4      t	]P                  ! ]	P                  ]	]4       ]P                  ! ]	P                  R4       R	# )
i    )annotations)Image	ImageFile)i32bec               s     V ^8  d   QhRRRR/# )   prefixZbytesreturnZbool format   "9/usr/lib64/python3.14/site-packages/PIL/GbrImagePlugin.py__annotate__r       s     R RE Rd R    c                sz    \        V 4      ^8  ;'       d'    \        V ^ 4      ^8  ;'       d    \        V ^4      R9   # )i      r   )Zleni32)r      &r   _acceptr       s7    v;!QQFA" 4QQVQ69QQr   c                  s6    ] tR t^(tRtRtR R ltR R ltRtR# )	GbrImageFileZGBRzGIMP brush filec                   V ^8  d   QhRR/# )r   r   ZNoner   r   r
   r   r   GbrImageFile.__annotate__,   s     -7 -7t -7r   c                	s   \        V P                  P                  ^4      4      pV^8  d   Rp\        V4      h\        V P                  P                  ^4      4      pVR9  d   RV 2p\        V4      h\        V P                  P                  ^4      4      p\        V P                  P                  ^4      4      p\        V P                  P                  ^4      4      pV^ 8:  g   V^ 8:  d   Rp\        V4      hVR9  d   RV 2p\        V4      hV^8X  d   V^,
          pMiV^,
          pV P                  P                  ^4      pVR8w  d   Rp\        V4      h\        V P                  P                  ^4      4      V P                  R&   V P                  P                  V4      RR p	V^8X  d	   RV n        MR	V n        WE3V n        WP                  R
&   \        P                  ! V P                  4       WE,          V,          V n
        R# )   znot a GIMP brushz Unsupported GIMP brush version: z$Unsupported GIMP brush color depth: s   GIMPz"not a GIMP brush, bad magic numberZspacingNZLZRGBAcommentr   )r   r   i)r   fpreadZSyntaxErrorZinfo_mode_sizer   Z_decompression_bomb_checksize
_data_size)
selfZheader_sizeZmsgZversionZwidthZheightZcolor_depthZcomment_lengthZmagic_numberr   s
   &         r   _openZGbrImageFile._open,   s   $'',,q/*$Cc""dggll1o&& 4WI>Cc""DGGLLO$TWW\\!_%$'',,q/*A:1$Cc""f$8FCc""a<(2-N(2-N77<<?Lw&:!#&&#&tww||A#7DIIi '',,~.s3!DJDJ]
&		) 	''		2  .;6r   c               r   )r   r   zImage.core.PixelAccess | Noner   r   r
   r   r   r   [   s     & &3 &r   c                	s6   V P                   fn   \        P                  P                  V P                  V P
                  4      V n        V P                  V P                  P                  V P                  4      4       \        P                  P                  V 4      # )N)Z_imr   ZcoreZnewZmoder   imZ	frombytesr   r   r   load)r   r   r   r!   ZGbrImageFile.load[   s\    88jjnnTYY		:DGNN477<<89{{%%r   )r   r   r   r    N)	Z__name__Z
__module__Z__qualname__Z__firstlineno__r	   Zformat_descriptionr   r!   Z__static_attributes__r   r   r   r   r   (   s    F*-7^& &r   r   z.gbrN)Z
__future__r    Z r   r   Z_binaryr   r   r   r   Zregister_openr	   Zregister_extensionr   r   r   <module>r"      sY   4 #  !R7&9&& 7&|   L''w ?   ,,f 5r   