Glimpse in kdereview
Aaron J. Seigo
aseigo at kde.org
Sun Mar 30 21:28:17 BST 2008
On Sunday 30 March 2008, Kåre Särs wrote:
> 3) libkscan provides the image in a QImage, which means that 16bit per
> color is not possible. libksane provides the data in a QByteArray (plus
> format info), with 16bit per color support.
what's the API for converting from the QByteArray to a QImage or QPixmap? does
one just use, e.g., QImage(uchar * data, int width, int height, Format
format)? are there convenience methods for this?
(apologies for not just loking myself =)
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080330/5d4ebf7a/attachment.sig>
More information about the kde-core-devel
mailing list