Ingo Randolf <i...@quitch.net> wrote:
> 
> I have a list with float-values describing an image like this:
> [R, G, B, A, R, G, B, A, R, G, B, A, R, G, B, A, R, G, B, A, ... etc.]
> 
> the RGBA-values are from 0. - 1.
> 
> is there a clever way to make a PIL-Image out of something like this?

PIL.Image.fromstring() is probably your best bet.

Charles
-- 
------------------------------------------------------------------
Charles Cazabon                   <charlesc-pyimage...@pyropus.ca>
Software, consulting, and services available at http://pyropus.ca/
------------------------------------------------------------------
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to