Color count in PIL

Larry wrbt at email.com
Tue Jan 27 17:43:55 EST 2004


I've been walking up, down, and around instances in the object model
of PIL trying to figure out how to easily calculate how many unique
colors are used in an image, specifically a bitmap (mode "P"). Am I
missing something?

Thanks python friends!



More information about the Python-list mailing list