Changeset 555 for pkpgcounter/trunk/pkpgpdls/tiff.py
- Timestamp:
- 12/09/07 15:26:15 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/tiff.py
r527 r555 34 34 totiffcommands = [ 'cp "%(infname)s" "%(outfname)s"' ] 35 35 required = [ "cp" ] 36 format = "TIFF" 36 37 def isValid(self) : 37 38 """Returns True if data is TIFF, else False.""" … … 39 40 bigendian = (chr(0x4d)*2) + chr(0) + chr(0x2a) 40 41 if self.firstblock[:4] in (littleendian, bigendian) : 41 self.logdebug("DEBUG: Input file is in the TIFF format.")42 42 return True 43 43 else :