Changeset 373 for pkpgcounter/trunk

Show
Ignore:
Timestamp:
08/26/06 23:55:03 (18 years ago)
Author:
jerome
Message:

The computation of ink coverage now works for the DVI file format.

Location:
pkpgcounter/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/bin/pkpgcounter

    r369 r373  
    5656    * PostScript (both DSC compliant and binary) 
    5757    * PDF    
    58     * TIFF 
     58    * DVI 
     59    * TIFF (some TIFF files don't work) 
    5960 
    6061command line usage : 
  • pkpgcounter/trunk/pkpgpdls/dvi.py

    r356 r373  
    3333class Parser(pdlparser.PDLParser) : 
    3434    """A parser for DVI documents.""" 
     35    totiffcommand = 'cat >%(fname)s && dvips -q -o - %(fname)s | gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r%(dpi)i -sOutputFile="%(fname)s" -' 
    3536    def isValid(self) :         
    3637        """Returns 1 if data is DVI, else 0.""" 
  • pkpgcounter/trunk/README

    r368 r373  
    4949        - PDF 
    5050         
    51         - TIFF 
     51        - DVI  
     52         
     53        - TIFF (some TIFF files don't work) 
    5254         
    5355Other formats will be supported in the future for ink coverage.