Changeset 282
- Timestamp:
- 11/08/05 00:56:08 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/inkcoverage.py
r281 r282 93 93 while 1 : 94 94 nbpixels = image.size[0] * image.size[1] 95 result.append({ "BLACK" : getPercentBlack(image, nbpixels), \ 96 "RGB" : getPercentRGB(image, nbpixels), \ 97 "CMY" : getPercentCMY(image, nbpixels), \ 98 "CMYK" : getPercentCMYK(image, nbpixels), \ 99 }) 95 result.append((image.size, \ 96 { "BLACK" : getPercentBlack(image, nbpixels), \ 97 "RGB" : getPercentRGB(image, nbpixels), \ 98 "CMY" : getPercentCMY(image, nbpixels), \ 99 "CMYK" : getPercentCMYK(image, nbpixels), \ 100 })) 100 101 index += 1 101 102 image.seek(index)