imageguy wrote:
On Jan 2, 7:33 pm, John Machin <sjmac...@lexicon.net> wrote:
For some very strange definition of "works"....

Well that's embarrassing ... you are correct.  I need to convert from
'bgr' to 'rgb'

If that is the only issue:
    >>> import Image
    >>> p = Image.open('~/VPython.png')
    >>> r, g, b = p.split()
    >>> q = Image.merge('RGB', [b, r, g])
    >>> q.save('~/VPython1.png')

Should be plenty fast.
Read the PIL docs before rolling your own solutions.

--Scott David Daniels
scott.dani...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to