Most efficient way to get pixelcolors of an image?

Diez B. Roggisch deets at nospam.web.de
Wed Jul 2 20:49:16 CEST 2008


defn noob schrieb:
> i want to process a large number of images and store their respective
> pixels in a matrix.
> 
> what is the mostt efficient way of opening and checking them?
> i doubt pygame is made for this purpose :)

Au contaraire, it is.

http://www.pygame.org/docs/ref/pixelarray.html

Diez



More information about the Python-list mailing list