[Qt-interest] Adding arbitrary depth to Graphics Scene & Friends
Jason H
scorp1us at yahoo.com
Tue Apr 26 21:20:39 CEST 2011
Yes. a Qt Image IO plugin.
http://doc.qt.nokia.com/qq/qq17-imageio.html
________________________________
From: Javier Urien <javierurien at gmail.com>
To: Jason H <scorp1us at yahoo.com>
Cc: qt-interest at trolltech.com
Sent: Tue, April 26, 2011 2:45:22 PM
Subject: Re: [Qt-interest] Adding arbitrary depth to Graphics Scene & Friends
On Tue, Apr 26, 2011 at 13:30, Jason H <scorp1us at yahoo.com> wrote:
If it were me, I would probably look into just making an arbitrary BPP
QPaintEngine.
>For using QGraphicsView for rendering your scene, you'd use that device.
>You'd give it a member function of setDataPixelDepth(int bpp), and it would do
>the pixel math in whatever precision is needed. Then a setViewPixelDepth(int
>bpp) which would convert from the data depth to the view depth.
>
>You should be all set from there, as QGraphicsItems use QPaintEngines.
>
>
I would some class to load the HBPP images right?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110426/c1fd300a/attachment.html
More information about the Qt-interest-old
mailing list