raw", "BGR;16")
im.show()
Although I have no idea *why* it works, other than the fact that I'm now
using the correct number of bits per pixel. :)
Anyone have thoughts on this?
Thanks!
J
"Jason B" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROT
Hi all,
I'm still new to all of this, but I'm trying to do something here that
*seems* like it should be pretty simple. All I want to do is take an array
of pixel data from a file (no header data or anything, just pixel data) in
RGB565 format and save it off to a bitmap file - or display it, i
My mistake, I see the section now about "Writing Your Own File Decoder..."
Thanks again for your help!
- J
"Jason B" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks, Roel...
>
> The Image.frombuffer() method looks promising, but the
Thanks, Roel...
The Image.frombuffer() method looks promising, but the "mode" parameter
seems a bit too limited for my needs. I must be able to specify not only
the order of the bits (RGB in any order) but also whether the format is 565,
555, etc.
Maybe I need to work outside the bounds of PI
Hi all,
I'm somewhat new to Python and I'm trying to figure out the best way to
accomplish the following:
>From an array of pixel data in an XML file (given the format, width and
height of the image as attributes) I must read in the data and save it off
as a bmp file.
I've gotten the PIL and
Greetings All,
I apologize if this has been brought up before, but
I'm having a small issue with the handling of sys.stdin
in Idle.
I'm using a routine to mimic the c library function
getch(), to get a single character from the keyboard.
The function works in the standard python shell, but
in I