[email protected]
[Top] [All Lists]

Re: Performance of QPixmap::convertFromImage

Subject: Re: Performance of QPixmap::convertFromImage
From: Andreas Pakulat
Date: Thu, 13 Jan 2005 13:51:53 +0100
On 13.Jan 2005 - 02:40:50, Andreas Pakulat wrote:
> Hi,
> I'm writing an image-app that needs QImage for the actual images as
> there's going to be some manipulation (resizing and rotation) to be
> done. On the other hand these images need to be displayed in the UI
> and an QIconView, so I need Pixmaps as well.
> My question is: How effecient is the convertFromImage function? Is it
> better to save both QPixmap and QImage in my Image-Class? I'm probably
> changing the image quite often, which means changing the QLabel which
> displays the pixmap and also Images are going to be deleted from the
> Iconview...

Something I forgot, there are also going to be quite a lot of images
(i.e. possibly up to 200 or 300) so the amount of memory might be
quite much if I have QImage and QPixmap stored in the Image-Class...


Tonight you will pay the wages of sin; Don't forget to leave a tip.

List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>