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

Changed the default resolution to 72 dpi when rendering to TIFF
to compute ink coverage.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/pkpgpdls/analyzer.py

    r363 r367  
    221221    parser.add_option("-r", "--resolution",  
    222222                            type="int",  
    223                             default=150,  
     223                            default=72,  
    224224                            dest="resolution", 
    225                             help="The resolution in DPI to use when checking ink usage. Lower resolution is faster. Default is 150.") 
     225                            help="The resolution in DPI to use when checking ink usage. Lower resolution is faster but less accurate. Default is 72 dpi.") 
    226226    (options, arguments) = parser.parse_args() 
    227227    if options.version : 
    228228        print "%s" % version.__version__ 
    229229    elif not (72 <= options.resolution <= 1200) :     
    230         sys.stderr.write("ERROR: the argument to the --resolution command line switch must be between 72 and 1200.\n") 
     230        sys.stderr.write("ERROR: the argument to the --resolution command line option must be between 72 and 1200.\n") 
    231231        sys.stderr.flush() 
    232232    else :