Changeset 555 for pkpgcounter/trunk/pkpgpdls/dvi.py
- Timestamp:
- 12/09/07 15:26:15 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/dvi.py
r527 r555 34 34 totiffcommands = [ 'dvips -q -o - "%(infname)s" | gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r"%(dpi)i" -sOutputFile="%(outfname)s" -' ] 35 35 required = [ "dvips", "gs" ] 36 format = "DVI" 36 37 def isValid(self) : 37 38 """Returns True if data is DVI, else False.""" … … 39 40 if (ord(self.firstblock[0]) == 0xf7) \ 40 41 and (ord(self.lastblock[-1]) == 0xdf) : 41 self.logdebug("DEBUG: Input file is in the DVI format.")42 42 return True 43 43 else :