+
    5i+                        a  R t0 t ^ RIHtHt ^ RIHtHtHt ]R,          t] ^ k  ! R R]	]
]3,          4      t ! R R]4      t ! R R]4      t] ! R	 R
4      4       tR# )    )	dataclassfield)Literal	TypeAliascastc                      a  ] tR t^t o Rt]V 3R lR l4       t]V 3R lR l4       t]V 3R lR l4       t]V 3R lR	 l4       t	V 3R
 lR lt
V 3R lR ltRtV tR# )	ImageInfozInformation about an image used in the PDF document (base class).
We subclass this to distinguish between raster and vector images.c                    < V ^8  d   QhRS[ /#    returnfloat)format__classdict__s   "_/Users/agent/.openclaw/workspace/venv/lib/python3.14/site-packages/fpdf/image_datastructures.py__annotate__ImageInfo.__annotate__   s     & &u &    c                0    \        \        V R,          4      # )zIntrinsic image widthwr   r   selfs   &r   widthImageInfo.width        E49%%r   c                    < V ^8  d   QhRS[ /# r   r   )r   r   s   "r   r   r      s     & & &r   c                0    \        \        V R,          4      # )zIntrinsic image heighthr   r   s   &r   heightImageInfo.height   r   r   c                    < V ^8  d   QhRS[ /# r   r   )r   r   s   "r   r   r      s     3 3 3r   c                0    \        \        V R,          4      # );Only available if the image has been placed on the documentrendered_widthr   r   s   &r   r&   ImageInfo.rendered_width   s     E4 0122r   c                    < V ^8  d   QhRS[ /# r   r   )r   r   s   "r   r   r   #   s     4 4 4r   c                0    \        \        V R,          4      # )r%   rendered_heightr   r   s   &r   r*   ImageInfo.rendered_height"   s     E4 1233r   c                    < V ^8  d   QhRS[ /# r   )str)r   r   s   "r   r   r   '   s     / / /r   c                r    V P                  4        UUu/ uF  w  rYR9   d   RMTbK  	  pppRV R2# u uppi )dataz...zself.__class__.__name__())r/   iccpsmask)items)r   kvds   &   r   __str__ImageInfo.__str__'   sI    LPJJL
LXDAA77Q>L 	
 
 *!A..
s   3c                V   < V ^8  d   QhRS[ RS[ RS[ RS[ RS[S[ S[ S[ S[ 3,          /# )r   xyr   r    r   r   tuple)r   r   s   "r   r   r   -   sC     " "" "%*"/4"	ueUE)	*"r   c                    V R,          pV R,          pWV,          pWG,          V8  d"   WG,          pTp	WV,
          ^,          ,          pM W7,          p	TpW$V	,
          ^,          ,          pWW3# )z
Make an image fit within a bounding box, maintaining its proportions.
In the reduced dimension it will be centered within the available space.
r   r     )
r   r:   r;   r   r    img_wimg_hrationew_wnew_hs
   &&&&&     r   scale_inside_boxImageInfo.scale_inside_box-   si     CyCy9q=IEEe)q AIEEe)q AU!!r   r?   N)__name__
__module____qualname____firstlineno____doc__propertyr   r!   r&   r*   r7   rE   __static_attributes____classdictcell__r   s   @r   r	   r	      so     I & & & & 3 3 4 4/ /" "r   r	   c                   :   a  ] tR t^Bt o RtRV 3R lR lltRtV tR# )RasterImageInfoz9Information about a raster image used in the PDF documentc          
      H   < V ^8  d   QhRS[ RS[ RS[ RS[S[ S[ 3,          /# )r   r   r    scaler   r<   )r   r   s   "r   r   RasterImageInfo.__annotate__E   s6       ).	ue|	r   c                    V R ,          pV R,          pV^ 8X  d   V^ 8X  d   WC,          pWS,          pW3# V^ 8X  d   W$,          V,          pW3# V^ 8X  d   W,          V,          pW3# )r   r    r?   )r   r   r    rS   r@   rA   s   &&&&  r   size_in_document_units&RasterImageInfo.size_in_document_unitsE   st     CyCy6a1fAA
 t	 !V	E!A t !V	E!Atr   r?   N)   )rG   rH   rI   rJ   rK   rV   rM   rN   rO   s   @r   rQ   rQ   B   s     ?  r   rQ   c                       ] tR t^TtRtRtR# )VectorImageInfoz9Information about a vector image used in the PDF documentr?   N)rG   rH   rI   rJ   rK   rM   r?   r   r   rZ   rZ   T   s    ?r   rZ   c                   f   a  ] tR t^Zt o ]! ]R7      t]! ]R7      tRtV 3R lR lt	V 3R lt
RtV tR# )
ImageCache)default_factoryAUTOc                   < V ^8  d   QhRR/# )r   r   Nr?   )r   r   s   "r   r   ImageCache.__annotate__c   s      d r   c                R    V P                   P                  4        F  p^ VR&   K
  	  R# )r   usagesN)imagesvalues)r   imgs   & r   reset_usagesImageCache.reset_usagesc   s"    ;;%%'CCM (r   c                z   < V ^8  d   Qh/ S[ S[S[S[,          3,          ;R&   S[ S[S[3,          ;R&   S[;R&   # )r   rc   icc_profilesimage_filter)dictr-   rQ   rZ   bytesintImageFilter)r   r   s   "r   r   r`   Z   sD      o778V 
 ucz"@  & r   r?   N)rG   rH   rI   rJ   r   rk   rc   ri   rj   rf   __annotate_func__rM   rN   rO   s   @r   r\   r\   Z   s3      <AQU;VF%*4%@L &L   r   r\   c                @    V ^8  d   Qh/ ^ \         9   d
   \        ;R&   # )r   rn   )__conditional_annotations__r   )r   s   "r   r   r      s     ( ( Y  )r   N)r^   FlateDecode	DCTDecode	JPXDecode	LZWDecodeCCITTFaxDecode)rq   dataclassesr   r   typingr   r   r   rn   rk   r-   objectr	   rQ   rZ   r\   r   )rq   s   @r   <module>rz      so    ( ( + +  0"S&[! 0"fi $@i @ 
 
 
r   