converting between PIL and NumPY

Rob W. W. Hooft rob at hooft.net
Wed Oct 6 02:43:59 EDT 1999


>>>>> "CB" == Charles Boncelet <boncelet at udel.edu> writes:

 CB> Could someone send me some quick info on converting between a PIL
 CB> object and a NumPy array?

Some time ago, I posted an example for visualization of 2D NumPy arrays
(integer or floating point) using PIL on my starship page as "dis.py".

  http://starship.python.net/crew/hooft/

Regards,

-- 
=====   rob at hooft.net          http://www.xs4all.nl/~hooft/rob/  =====
=====   R&D, Nonius BV, Delft  http://www.nonius.nl/             =====
===== PGPid 0xFA19277D ========================== Use Linux! =========




More information about the Python-list mailing list