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')
On Jan 2, 7:33 pm, John Machin sjmac...@lexicon.net wrote:
For some very strange definition of works. You say you have 'bgr'
and want to convert it to 'rbg'. The following code converts 'bgr' to
'rgb', which is somewhat more plausible, but not what you said you
wanted.
Well that's
On Jan 4, 7:10 am, imageguy imageguy1...@gmail.com wrote:
On Jan 2, 7:33 pm, John Machin sjmac...@lexicon.net wrote:
For some very strange definition of works. You say you have 'bgr'
and want to convert it to 'rbg'. The following code converts 'bgr' to
'rgb', which is somewhat more
I am looking for the most efficient method of replacing a repeating
sequence in a byte string returned from a imaging .dll, connected via
I receive the byte string with the following sequence 'bgrbgrbgrbgr'
and I would like to convert this to 'rbgrbgrbgrbg'
FWIW, the string is created using
imageguy wrote:
I am looking for the most efficient method of replacing a repeating
sequence in a byte string returned from a imaging .dll, connected via
I receive the byte string with the following sequence 'bgrbgrbgrbgr'
and I would like to convert this to 'rbgrbgrbgrbg'
FWIW, the string
imageguy ha scritto:
I am looking for the most efficient method of replacing a repeating
sequence in a byte string returned from a imaging .dll, connected via
I receive the byte string with the following sequence 'bgrbgrbgrbgr'
and I would like to convert this to 'rbgrbgrbgrbg'
FWIW, the string
imageguy wrote:
I am looking for the most efficient method of replacing a repeating
sequence in a byte string returned from a imaging .dll, connected via
I receive the byte string with the following sequence 'bgrbgrbgrbgr'
and I would like to convert this to 'rbgrbgrbgrbg'
For speed, I would
Francesco Bochicchio wrote:
imageguy ha scritto:
I am looking for the most efficient method of replacing a repeating
sequence in a byte string returned from a imaging .dll, connected via
I receive the byte string with the following sequence 'bgrbgrbgrbgr'
and I would like to convert this to
imageguy:
I receive the byte string with the following sequence 'bgrbgrbgrbgr'
and I would like to convert this to 'rbgrbgrbgrbg'
FWIW, the string is created using ctypes.create_string_buffer function
MRAB:
a.tostring()
'210543876'
That's not the required 'rbgrbgrbgrbg', but you are close
On Jan 3, 5:34 am, imageguy imageguy1...@gmail.com wrote:
I am looking for the most efficient method of replacing a repeating
sequence in a byte string returned from a imaging .dll, connected via
I receive the byte string with the following sequence 'bgrbgrbgrbgr'
and I would like to convert
imageguy wrote:
I am looking for the most efficient method of replacing a repeating
sequence in a byte string returned from a imaging .dll, connected via
I receive the byte string with the following sequence 'bgrbgrbgrbgr'
and I would like to convert this to 'rbgrbgrbgrbg'
FWIW, the string
11 matches
Mail list logo