Any suggestions to speed this up

Terry Reedy tjreedy at udel.edu
Tue Nov 4 17:16:07 EST 2003


"MetalOne" <jcb at iteris.com> wrote in message
news:92c59a2c.0311041209.2e89e054 at posting.google.com...
> 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.

TJR






More information about the Python-list mailing list