eSrS/rSSKJr SSKJr "SS\5r/rSrSr \ S5r \ S 5r \ S 5r \ S 5r \ S 5r\ S 5r\ S5r\ S5r\ S5r\ S5r\ S5r\ S5r\ S5rg)z/Class representing image/* type MIME documents. MIMEImage)encoders)MIMENonMultipartcB\rSrSrSrS\R 4SS.SjjrSrg)r z1Class for generating image/* type MIME documents.N)policyc Uc [U5OUnUc [S5e[R"USU4SU0UD6 UR U5 U"U5 g)alCreate an image/* type MIME document. _imagedata contains the bytes for the raw image data. If the data type can be detected (jpeg, png, gif, tiff, rgb, pbm, pgm, ppm, rast, xbm, bmp, webp, and exr attempted), then the subtype will be automatically included in the Content-Type header. Otherwise, you can specify the specific image subtype via the _subtype parameter. _encoder is a function which will perform the actual encoding for transport of the image data. It takes one argument, which is this Image instance. It should use get_payload() and set_payload() to change the payload to the encoded form. It should also add any Content-Transfer-Encoding or other headers to the message as necessary. The default encoding is Base64. Any additional keyword arguments are passed to the base class constructor, which turns them into parameters on the Content-Type header. Nz"Could not guess image MIME subtypeimager)_what TypeErrorr__init__ set_payload)self _imagedata_subtype_encoderr_paramss 6/opt/imh/python3.13/lib/python3.13/email/mime/image.pyr MIMEImage.__init__s_*)1(85$h  @A A!!$ -& -$+ - $) __name__ __module__ __qualname____firstlineno____doc__r encode_base64r __static_attributes__rrrrr s#;,0"00<@rcD[HnU"U5=n(dMUs $ gN)_rules)dataruleress rr r 2s%t* 3 Jrc0[RU5 U$r )r!append)rulefuncs rr#r#:s MM( Orc,USSS;agUSSS:Xagg)z1JPEG data with JFIF or Exif markers; and raw JPEG )sJFIFsExifjpegNsrhs r_jpegr/?s- 2w$$ 2A% % &rc2URS5(agg)NsPNG  png startswithr-s r_pngr4Hs||())*rcUSSS;agg)zGIF ('87 and '89 variants)Nr))sGIF87asGIF89agifrr-s r_gifr7Ns !u&&'rcUSSS;agg)z-TIFF (can be in Motorola or Intel byte order)N)sMMsIItiffrr-s r_tiffr;Us !urc2URS5(agg)zSGI image librarysrgbNr2r-s r_rgbr>\ ||K  !rcr[U5S:a(US[S5:XaUSS;a USS;agg g g g ) zPBM (portable bitmap)rPs14r9 pbmNlenordr-s r_pbmrIcG 1v{ aDCI !A$%-AaDJ4F5G- rcr[U5S:a(US[S5:XaUSS;a USS;agg g g g ) zPGM (portable graymap)rArrBrCs25r9rDpgmNrFr-s r_pgmrMkrJrcr[U5S:a(US[S5:XaUSS;a USS;agg g g g ) zPPM (portable pixmap)rArrBrCs36r9rDppmNrFr-s r_ppmrPsrJrc2URS5(agg)zSun raster filesYjrastNr2r-s r_rastrS{s ||'(()rc2URS5(agg)zX bitmap (X10 or X11)s#define xbmNr2r-s r_xbmrVr?rc2URS5(agg)NsBMbmpr2r-s r_bmprYs||ErcFURS5(a USSS:Xaggg)NsRIFF sWEBPwebpr2r-s r_webpr^s)||G1RG!3"4rc2URS5(agg)Nsv/1exrr2r-s r_exrras||'(()rN)r__all__emailremail.mime.nonmultipartrrr!r r#r/r4r7r;r>rIrMrPrSrVrYr^rarrrres: 6 -4 B          r