From kde-kimageshop Wed Oct 08 23:13:58 2003 From: Patrick Julien Date: Wed, 08 Oct 2003 23:13:58 +0000 To: kde-kimageshop Subject: Re: Bwerk! X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=106566241213224 On October 8, 2003 05:32 pm, Boudewijn Rempt wrote: > On Wednesday 08 October 2003 23:04, Boudewijn Rempt wrote: > > QImage image = QImage( ( int ) pixels->data, > > r.width(), > > r.height(), > > tileMgr->depth() ); > > Er... maybe it was a bad idea to try and cast an array of byte to int... On > the other hand, QImage::QImage ( const QByteArray & array ) doesn't seem > applicable, either. Hmm, well, no you can do that, just not this way :) Look at the RGB color strategy. _______________________________________________ kimageshop mailing list kimageshop@mail.kde.org http://mail.kde.org/mailman/listinfo/kimageshop