Changeset 3443 for pkpgcounter/trunk/pkpgpdls
- Timestamp:
- 10/25/08 15:57:29 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/inkcoverage.py
r3436 r3443 72 72 for (r, g, b) in img.getdata() : 73 73 if not (r == g == b) : 74 # optimize : if a single pixel is no gray the whole page is colored.74 # optimize : if a single pixel is not gray the whole page is colored. 75 75 return { "G" : 0.0, "C" : 100.0 } 76 76 return { "G" : 100.0, "C" : 0.0 }