Philips AmBX with B650

Ideas and dreaming will go this forum
Post Reply

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

Re: Philips AmBX with B650

Post by reaper7 »

I think it is possible
electronic project:
http://grizz.pl/mirlight
http://mirley.firlej.org/blog_mirlight

and git sourses:
http://github.com/grizz-pl/mirlight

the problem is that now project get color info by Qt:

Code: Select all

def getColor(self, px, py, w, h ):
    """
    Grab specific field and resize it to receive average color of field
    @return a color value
    """
    self.originalPixmap = QtGui.QPixmap.grabWindow(QtGui.QApplication.desktop().winId(), px, py, w, h)
    self.destPixmap = self.originalPixmap.scaled(1, 1, QtCore.Qt.IgnoreAspectRatio, QtCore.Qt.SmoothTransformation)
    self.destImage = self.destPixmap.toImage()
    value = self.destImage.pixel(0,0)
    return value
...but project developers want in next versions to leave Qt and reading "images" from memory to table.

On our forums are talented people - doing magical things with the image memory :)

Post Reply

Return to “[B] Brainstorm”