Show
Ignore:
Timestamp:
08/27/06 00:41:23 (18 years ago)
Author:
jerome
Message:

Output is now easier to read.

Files:
1 modified

Legend:

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

    r363 r376  
    103103        while 1 : 
    104104            nbpixels = image.size[0] * image.size[1] 
    105             result.append({ colorspace : computation(image, nbpixels) }) 
     105            result.append(computation(image, nbpixels)) 
    106106            index += 1               
    107107            image.seek(index) 
    108108    except EOFError :         
    109109        pass 
    110     return result 
     110    return (colorspace, result) 
    111111 
    112112if __name__ == "__main__" :