[PyQt] Re: numpy to QImage

2008-02-24 Thread Tony Willis
On Sun, 24 Feb 2008 [EMAIL PROTECTED] wrote: 1. QImage from Python buffer (Jeremy Sanders) From: Jeremy Sanders [EMAIL PROTECTED] Subject: [PyQt] QImage from Python buffer To: pyqt@riverbankcomputing.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Hi -

[PyQt] ANN: new eric4 snapshot available

2008-02-24 Thread Detlev Offenbach
Hi, this is to inform you about the availability of a new snapshot of eric4. It fixes a few bugs and includes these new functions. - changed settings from native format to ini format - made number of recently opened projects and files configurable - added multiproject support (that is a

[PyQt] Re: numpy to QImage

2008-02-24 Thread Jeremy Sanders
Tony Willis wrote: What you want is the toQImage function that is supplied as part of the PyQwt package. The QwtImagePlotDemo.py example included with PyQwt uses the function in a worked example. Sure, but it would be nice to have this functionality built-in, as it seems a common use case,

Re: [PyQt] QImage from Python buffer

2008-02-24 Thread Phil Thompson
On Saturday 23 February 2008, Jeremy Sanders wrote: Hi - Would it be possible to add support to create a QImage from a Python buffer object? I want to be able to quickly convert numpy arrays to QImages for display. Currently I have to convert the numpy to a string, then the string to a