Function GetData() in wxImage
Anand
anandpillai6 at yahoo.com
Wed Oct 9 04:20:50 EDT 2002
Hi Mike,
Thanks for help
Could you kindly point me to resources where I can learn about python
multithreading ?
Anand
"Mike C. Fletcher" <mcfletch at rogers.com> wrote in message news:<mailman.1034004310.4308.python-list at python.org>...
> http://wiki.wxpython.org/index.cgi/WorkingWithImages
>
> BTW: It's generally more efficient to use the wxPython users mailing
> list for these kinds of questions.
>
> Enjoy,
> Mike
>
> Anand wrote:
>
> >Hi
> >
> > I am writing an image viewer in wxPython using the wxImage class.
> >I want to manipulate the image data for effects. I tried to use the
> >GetData() method of the wxImage class which returns a const char *(wxWindows
> >documentation).
> >
> > How do I manipulate this object. Is it a python object or a C unsigned char *
> >stream ? Can i apply std 'C' calls on it or do I need to use methods of
> >python ?
> >
> >Concerned code...
> >
> > def myfunc:
> >
> > ...
> > self.img = wxImage(fileName)
> > chunk = self.img.GetData() # What is this chunk ?
> > pass
> >
> >
> >Thanks
> >
> >Anand
> >
> >
More information about the Python-list
mailing list