PEP368 and pixeliterators
Joachim Strömbergson
Joachim at Strombergson.com
Thu Jul 2 09:16:36 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aloha!
Casey Webster wrote:
> Unless I'm totally misreading the PEP, the author does provide both
> iterators. Quoting the PEP:
>
> Non-planar images offer the following additional methods:
>
> pixels() -> iterator[pixel]
>
> Returns an iterator that iterates over all the pixels in the image,
> starting from the top line and scanning each line from left to
> right.
> See below for a description of the pixel objects.
Ah! I knew there was a reason for me wearing glasses. ;-)
Go PEP368!
- --
Med vänlig hälsning, Yours
Joachim Strömbergson - Alltid i harmonisk svängning.
========================================================================
Kryptoblog - IT-säkerhet på svenska
http://www.strombergson.com/kryptoblog
========================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpMszQACgkQZoPr8HT30QGmVACfezmlZ+K93exuIEoUDJyzNzgM
3dcAn1x4Ghu9AlMKEme2og4sK4TwhXaR
=bNbl
-----END PGP SIGNATURE-----
More information about the Python-list
mailing list