Changeset 287

Show
Ignore:
Timestamp:
11/23/05 22:32:38 (19 years ago)
Author:
jerome
Message:

Rewriting

Files:
1 modified

Legend:

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

    r282 r287  
    3434    if img.mode != "RGB" : 
    3535        img = img.convert("RGB") 
     36    data = img.getdata()     
    3637    cyan = magenta = yellow = black = 0     
    37     for (r, g, b) in img.getdata() : 
     38    for (r, g, b) in data : 
    3839        if r == g == b : 
    3940            black += 255 - r