(self,file)
| 50 | |
| 51 | |
| 52 | def __init__(self,file): |
| 53 | self.FileName=file |
| 54 | file=open(self.FileName,'r') |
| 55 | data=file.read() |
| 56 | data=binascii.hexlify(data) |
| 57 | vals=self.byts(data) |
| 58 | self.data=vals |
| 59 | self.header=self.data[:8] |
| 60 | self.header=''.join(self.header) |
| 61 | self.Find_Chunks() |
| 62 | x=PNG('/root/th_grey3.png') |
| 63 | print x.hight,x.hight |
nothing calls this directly
no test coverage detected