Re: [PyKDE] Pixel from a QImage

2006-04-17 Thread Russell Valentine
Aurel (DustyDingo) W. said the following on 04/16/06 20:57: > I updated now to PyQt-x11-gpl-snapshot-20060407 and to sip-4.4.1 and > QImage::pixel(int,int) works now, thanks. > > The mature problem with all this Qt painting stuff is, that i must > convert a QPixmap into a QImage when i want to get

Re: [PyKDE] Pixel from a QImage

2006-04-16 Thread Aurel (DustyDingo) W.
I updated now to PyQt-x11-gpl-snapshot-20060407 and to sip-4.4.1 and QImage::pixel(int,int) works now, thanks. The mature problem with all this Qt painting stuff is, that i must convert a QPixmap into a QImage when i want to get any information from pixel data, which is unbearable. It wouldn't be

Re: [PyKDE] Pixel from a QImage

2006-04-16 Thread Andreas Pakulat
On 16.04.06 00:53:16, Aurel (DustyDingo) W. wrote: > Hi, > > while programming a little application, that does painting with > QPainter i ran into serious problems and now I am completely stuck. I > need the color of a distinct Pixel from a QPixmap. It is common, that > QPixmap doesn't implement a

[PyKDE] Pixel from a QImage

2006-04-15 Thread Aurel (DustyDingo) W.
Hi, while programming a little application, that does painting with QPainter i ran into serious problems and now I am completely stuck. I need the color of a distinct Pixel from a QPixmap. It is common, that QPixmap doesn't implement a function for this, so i must convert it into a QImage, which o