Michael De Paola
mike at dmawebapps.com
Fri Jan 28 22:33:26 CET 2005
On Jan 28, 2005, at 12:26 PM, <python at bnardone.com> wrote:
> I've just begun working OGL with Python and had a question about PIL.
> Specifically, I've been using it to load .png's as textures, and now
> have a need
> to draw other images (.jpg, .png) as background images. I'm interested
> in using
> something along the lines of:
> But I am unsure as to how to get the *someBitmapSet* out of the object
> returned by
> someImage.tostring("raw", "RGBA", 0, -1)
> image = numarray.array(numarray.fromstring(image, numarray.Byte))
> I've tried
> to no avail.
> Is this possible? Am I headed in the right direction?
> Image-SIG maillist - Image-SIG at python.org
More information about the Image-SIG