cehua_ZWJ
2019-01-30 6afaa4408f4e09e3e95dbd92f0d1cd5a1fb2942b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
ŒôXc@s dZddlZddlZddlZd„Zd„Zd„Zdejfd„ƒYZyddlZWne    k
r‡dZnXidd    6dd6d
d
6Z d „Z d „Z dd „Zdd„Zejejeeƒejeje ƒejejdƒejejdƒdS(s0.9iÿÿÿÿNcCs t|dƒt|dƒd>S(Niii(tord(tc((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pyti16%scCs t|d@ƒt|d?d@ƒS(Niÿi(tchr(ti((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pyto16(scCs|d dkS(NitGIF87atGIF89a(RR((tprefix((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pyt_accept/st GifImageFilecBs>eZdZdZdZd„Zd„Zd„Zd„Z    RS(tGIFsCompuserve GIFcCs>|jjdƒ}|r:t|ƒr:|jjt|ƒƒSdS(Ni(tfptreadRtNone(tselfts((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pytdata=scCs€|jjdƒ}|d dkr.td‚n|d |jd<t|dƒt|dƒf|_g|_t|dƒ}|d    @d
}|d @rQt|d ƒ|jd <|jjd|>ƒ}xŽtdt    |ƒdƒD]q}t
|dƒ||ko||d
ko||dknsÙt j d|ƒ}||_ |_PqÙqÙWn|j|_|jjƒ|_|jdƒdS(Ni iRRsnot a GIF filetversionii
iii€i t
backgroundiiitRGB(sGIF87asGIF89a(R R t SyntaxErrortinfoRtsizettileRtrangetlenRt ImagePalettetrawtglobal_palettetpalettet_GifImageFile__fpttellt_GifImageFile__rewindtseek(RRtflagstbitstpR((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pyt_openCs& #    
E  c Cs|dkr=d|_d|_d|_|jj|jƒn||jdkr`td|‚n||_g|_|j|_    |jr¹|j    j|jƒx|j
ƒr¬qWd|_n|jrÚ|j|_ d|_n|j |_ xú|j    jdƒ}| s|dkrPqé|dkr½|j    jdƒ}|j
ƒ}t|ƒdkrt|dƒ}|d@r‚t|dƒ|jd    <nt|dd!ƒd
|jd <yU|d @rÕtjjd |j|jdƒ|_n|d@rô|j jƒ|_nWq§ttfk
rq§Xn•t|ƒdkr§||j    jƒf|jd<|d dkr§|j
ƒ}t|ƒdkr¤t|dƒdkr¤t|dd!ƒ|jd<q¤q§nx6|j
ƒr¹qªWqé|dkré|j    jdƒ}t|dƒt|dƒ}}|t|dƒ|t|dƒ}}t|d ƒ}|d@dk}    |d@r…|d@d}
tjd|j    jd|
>ƒƒ|_ nt|j    jdƒƒ}
|j    jƒ|_d||||f|j|
|    ffg|_Pqéqé|jsøtd‚nd |_|j rd |_ndS(!Niiÿÿÿÿiscannot seek to frame %dt;t!iùit transparencyi
tdurationitPRiiÿt    extensioni s NETSCAPE2.0tloopt,i    iiii@i€iRtgifsno more images in GIF filetL(t_GifImageFile__offsetRtdisposet_GifImageFile__frameRR"R!t
ValueErrorRR RtimRRR RRRtImagetcoretfillRtcopytAttributeErrortKeyErrorR RRRtEOFErrortmode( RtframeRtblockR#tx0ty0tx1ty1t    interlaceR$((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pyR"csŠ                                    
 
 
 (# !)
(             cCs|jS(N(R3(R((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pyR ÒsN(
t__name__t
__module__tformattformat_descriptionRRRR&R"R (((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pyR
6s             oR0t1R+c    Csmtr8ytj|||ƒdSWq8tk
r4q8Xnyt|j}|}WnVtk
r§tj|jƒdkr|jdƒ}d}q¨|jdƒ}d}nXx't    ||j
ƒD]}|j |ƒq»Wd}y|j
d}Wntk
rd}nXt |j ƒdkr!d}n|r4|dB}ny|j
d    }Wntk
rXnPX|j d
td ƒtd ƒtdƒtdƒtt|ƒƒtdƒƒ|j d tdƒtdƒt|j dƒt|j dƒt|ƒtdƒƒd|f|_tj||dd|j d|fgƒ|j dƒ|j dƒy|jƒWnnXdS(NRR+R0iRDiii@R)R(iùiR.iR/tR'(ii(t _imaging_giftsavetIOErrortRAWMODER=R;R6t getmodebasetconvertt    getheadert encoderinfotwritetminRRRtintt encoderconfigt    ImageFilet_savetflush(    R5R tfilenametrawmodetimOutRR#RDR)((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pyRXäsV  
     
 
      IC)  cCswddl}|jƒ}|jdkrA|jd||fƒn|jd||fƒy|j|ƒWnnXdS(NiÿÿÿÿRsppmtogif %s >%ssppmquant 256 %s | ppmtogif >%s(tost_dumpR=tsystemtunlink(R5R RZR]tfile((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pyt _save_netpbm/s  cCs|o|jddƒ}dt|jdƒt|jdƒtd ƒtdƒtdƒg}|r¦d}d}x6|jƒD]}|r•|}n|d}q€Wnd}|jdkrß|j|jjd    ƒ|d
 ƒn.x+t    |ƒD]}|jt|ƒd
ƒqìW|S( s2Return a list of strings representing a GIF headertoptimizeiRiii€iR+Rii‡(
tgetRRRt    histogramR=tappendR5t
getpaletteR(R5RRcRRtmaxcolortcount((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pyRQCs 9    $icKsàdd
d„ƒY}|jƒ|ƒ}z©||_|jdt|dƒt|dƒt|jdƒt|jdƒtdƒtdƒƒtj||dd |jdt|j    fgƒ|jdƒWd    |`X|j
S( sReturn a list of strings representing this image.
       The first string is a local image header, the rest contains
       encoded image data.t    collectorcBseZgZd„ZRS(cSs|jj|ƒdS(N(RRf(RR((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pyRSns(RERFRRS(((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pyRjlsR.iiiR/RJN((ii( tloadRRRSRRRRWRXRNR=R(R5toffsettparamsRjR ((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pytgetdatags
        K0s.gifs    image/gif(ii(t __version__R6RWRRRR    R
RKt ImportErrorRRNRXRbRQRnt register_openRGt register_savetregister_extensiont register_mime(((su.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\CaptchaImage\VerificationCodePic\PIL\GifImagePlugin.pyt<module>s*$            £ 
 
    K     $ '