Any suggestions to speed this up

Terry Reedy tjreedy at
Tue Nov 4 23:16:07 CET 2003

"MetalOne" <jcb at> wrote in message
news:92c59a2c.0311041209.2e89e054 at
> Virtually all the time is consumed expanding the 1 byte of grayscale
> data into 3 bytes to get RGB.  For example, V=128 is converted to
> R=128,G=128,B=128.

I would look at PIL to see it it had a builtin function to do this and
then Numerical Python.


More information about the Python-list mailing list