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
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
QImage.
it would be nice to do
QImage(numpyarray.data, 100,